Cannot find module 'C:\Users\USER\AppData\Roaming\npm\node_modules\expo-cli\bin\expo.js
See original GitHub issueImmediately after updating node i got an error of
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node@8.16.1 preinstall: node installArchSpecificPackage
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node@8.16.1 preinstall 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\USER\AppData\Roaming\npm-cache_logs\2019-09-25T17_14_47_778Z-debug.log
Someone on stackover flow suggested to me to remove the folder of Node_module…now I’m getting two errors module not found and that i posted above
Issue Analytics
- State:
- Created 4 years ago
- Comments:34
Top Results From Across the Web
How do I resolve "Cannot find module" error using Node.js?
Using npm install installs the module into the current directory only (in a subdirectory called node_modules ). Is app.js located under ...
Read more >cannot find module [Node npm Error Solved] - freeCodeCamp
In this article, I'm going to show you how to fix the error. Why the "Error: cannot find module" Occurs. This error occurs...
Read more >internal/modules/cjs/loader.js 584 throw err; ==> cannot find ...
I had a similar issue with something not being able to find module 'node' , with a similar stack trace as everyone else...
Read more >Error: Cannot find module in JavaScript [SOLVED]
We can solve Error: Cannot find module by installing the missing module. We can use npm tool to install the mising module.
Read more >How to resolve "Cannot find module" error in Node - Sabe.io
Learn how to resolve the "Cannot find module" error in Node. ... internal/modules/cjs/loader.js:796 throw err; ^ Error: Cannot find module ...
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
Hey guys,
npm install -g expo-cli --force
Works for me.
I found the solution just run it in your user folder because it does not respond when you ran it in a different directory other than maybe C:\Users\User_Name