question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Netlify build on Windows 10 producing an error

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:25 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
talvescommented, Oct 28, 2019

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.

0reactions
ehmickycommented, Oct 29, 2019

Everything mentioned in this issue has now been fixed in the latest version of @netlify/cli (2.20.1).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Build troubleshooting tips - Netlify Docs
Find troubleshooting tips for failing builds, learn how to address certain build errors, and access additional support resources.
Read more >
[Support Guide] Frequently encountered problems during builds
js — the Netlify build may fail due to the mixed case filename. The file system used in Netlify builds is case sensitive,...
Read more >
[Support Guide] What can I do if my build fails for memory ...
Some background There are a fair number of reasons that a build could fail in Netlify's CI environment, even if building works locally....
Read more >
[Support Guide] Netlify app builds locally but fails on deploy ...
The file system used in Netlify builds is case sensitive, while your local environment is not. Unfortunately, the error messages that result may...
Read more >
How to fix build failures with `create-react-app` in production
Most commonly, this is due to a filename change in assets generated during your build. The same situation happens if you use versioned...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found