Closed shrihankp closed 4 years ago
hi there! it seems like the npm cache is corrupt, see https://stackoverflow.com/a/47896884/659988 for a fix
Whoa! I had used this npm cache clean --force
command a lot and it fixes most of the issues including this one
Btw, the meme after running the command was humorous!
Description
I installed expo-cli by
npm install -g expo-cli
. Everything went fine, but with some deprecation warnings. I ignored it. Then when I cd into the project dir and start bynpm start
orexpo start
. There's a lot of error messages thennpm
gives the code ELIFECYCLE.Expected Behavior
expo-cli
must start the development server.Observed Behavior
Gives an error when trying
expo start
ornpm start
Environment
Expo CLI 3.22.3 environment info: System: OS: Windows 7 6.1.7601 Binaries: Node: 12.18.0 - C:\Program Files\nodejs\node.EXE npm: 6.14.4 - C:\Program Files\nodejs\npm.CMD
Reproducible Demo
I haven't started the project yet. Just getting started from https://docs.expo.io/get-started/create-a-new-app/
__EDIT: I read carefully and found that my node_modules are missing, so will I try
npm install
? EDIT 2: I ran npm install. Another error:__npm Log: