npm run dev does not work, it gives error #22
-
Error: command error: failed to create config from modules config: unknown output format "searchindex" for kind "home" |
Beta Was this translation helpful? Give feedback.
Answered by
razonyang
Jul 1, 2023
Replies: 1 comment 7 replies
-
Hi @ShakilSayyed, it most likely that the search module wasn't imported. The full error log is more helpful to diagnose. BTW, the theme requires extended Hugo It would be also helpful if you have a public repo for reproducing this issue. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@ShakilSayyed Hmm, I can't reproduce it, the instructions work as expected on both of WSL and PowerShell.
According to your logs, there are some extra output of Hugo CLI, how do you install the Hugo? Please give the official binary (download from releases which named
extended
andwindows amd64
) a try.Use the downloaded Hugo CLI directly instead of
npm run dev
for testing.