Netlify build on Windows 10 producing an error
See original GitHub issueUsing this example on the local system (Win10) gives an error found in the screen capture below.
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:
- Created 4 years ago
- Comments:25 (12 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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.
Everything mentioned in this issue has now been fixed in the latest version of
@netlify/cli
(2.20.1
).