npm ERR! spawn = ENOENT error when installing 6-fetching-data example
See original GitHub issueBug report
Describe the bug
Hi, I have follow the instructions on the Next.js tutorial Fetching Data for Pages but when I run the command npm install
I get the following error output:
npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
> core-js@2.6.11 postinstall C:\src\next-learn-demo\6-fetching-data\node_modules\core-js
> node -e "try{require('./postinstall')}catch(e){}"
npm WARN hello-next@1.0.0 No description
npm WARN hello-next@1.0.0 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules\webpack\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {"os":"darwin","arch":"any"} (current:
{"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn =
npm ERR! file =
npm ERR! path =
npm ERR! errno ENOENT
npm ERR! core-js@2.6.11 postinstall: `node -e "try{require('./postinstall')}catch(e){}"`
npm ERR! spawn = ENOENT
npm ERR!
npm ERR! Failed at the core-js@2.6.11 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\SiriusFuenmayor\AppData\Roaming\npm-cache\_logs\2020-02-08T22_54_44_554Z-debug.log
The detailed log is attached
2020-02-09T00_03_45_665Z-debug.log
To Reproduce
Steps to reproduce the behavior:
On Windows 10 using PowerShell and Node.js version 12.15.0 run the following commands:
git clone https://github.com/zeit/next-learn-demo.git
cd next-learn-demo
cd 6-fetching-data
npm install
System information
- OS: Windows 10
- Browser: Firefox
- Version of Next.js:
“dependencies”: { “next”: “latest”, “react”: “^16.12.0”, “react-dom”: “^16.12.0” }
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (4 by maintainers)
Top Results From Across the Web
npm ERR! Error: spawn ENOENT - node.js - Stack Overflow
When i try to push my code to heroku am getting following error. Everything was working fine earlier. Suddenly something ...
Read more >How to fix: npm ERR! enoent ENOENT: no such file or ...
I recently struggled for a while with an npm error thrown when executing npm install of some package. The error message was npm...
Read more >await-spawn - npm
Start using await-spawn in your project by running `npm i await-spawn`. There are 88 other projects in the npm registry using await-spawn.
Read more >Error spawn ENOENT on node js | Edureka Community
Hii team, When I get the following error: events.js:72 throw er; // Unhandled ' ... at Process.ChildProcess.
Read more >webpack-plugin install - Esri Community
When I run npm install --save-dev @arcgiswebpack-plugin. I get the following errors: 73 error code ENOENT 74 error syscall spawn git
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 FreeTop 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
Top GitHub Comments
@SiriusFuenmayor hmm ok, the only relevant issue might be this one: https://github.com/facebook/create-react-app/issues/8441#issuecomment-583197435
@SiriusFuenmayor great! thank you! it help me save a lot of time