Skip to content

'npm run build' fails on Windows systems #973

@deining

Description

@deining

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

> docsy@0.2.0 build
> npm run cd:docs build


> docsy@0.2.0 cd:docs
> npm run _cd:docs -- npm run "build"


> docsy@0.2.0 _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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions