build: Netlify build on Windows 10 producing an error

Using this example on the local system (Win10) gives an error found in the screen capture below.

image

Used --dry --verbose to give as much info as possible, but it also fails without those tags with same errors.

Node: v10.16.0 npm: v6.9.0 Yarn: v1.17.3

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 25 (12 by maintainers)

Most upvoted comments

I’m not using npx netlify build to run the command. I have the cli in dev deps. Let me do a new clone of the repository and see if something changes.

npx netlify build runs! Should it return to prompt after?

yarn run netlify build gives the error.

Since there is a reason and a solution, up to you if you want to support a local dev dependency install of the cli.