Skip to content

npm run dev does not work, it gives error #22

Closed Answered by razonyang
ShakilSayyed asked this question in Q&A
Discussion options

You must be logged in to vote

@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 and windows amd64) a try.

Use the downloaded Hugo CLI directly instead of npm run dev for testing.

D:\Path\to\hugo.exe server --gc --disableFastRender --enableGitInfo -D

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@razonyang
Comment options

@ShakilSayyed
Comment options

@ShakilSayyed
Comment options

@razonyang
Comment options

Answer selected by ShakilSayyed
@ShakilSayyed
Comment options

@razonyang
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants