docsy
docsy copied to clipboard
'npm run build' fails on Windows systems
On my Linux system, I can run npm run build without problems.
On my Windows 10 box, the same command fails, however:
F:\DocsyFinal\docsy-ad>npm run build
> [email protected] build
> npm run cd:docs build
> [email protected] cd:docs
> npm run _cd:docs -- npm run "build"
> [email protected] _cd:docs
> cd userguide && "npm" "run" "build"
> build
> npm run _build
> _build
> npm run _hugo-dev
> _hugo-dev
> npm run _hugo -- -e dev -DFE
> pre_hugo
> set -x && npm run ${DOCSY_VENDOR:-keep}:vendor
Die Umgebungsvariable "-x " ist nicht definiert.
npm ERR! code 1
npm ERR! path F:\DocsyFinal\docsy-ad\userguide
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c set -x && npm run ${DOCSY_VENDOR:-keep}:vendor