0

I was trying to install a package in expo React Native project without success. I then tried running npm install and expo upgrade. Unfortunately, npm install failed with following error message:

npm error code ENOENT
npm error syscall open
npm error path /Users/belloshehu/dev/react-native/package.json
npm error errno -2
npm error enoent Could not read package.json: Error: ENOENT: no such file or directory, open '/Users/belloshehu/dev/react-native/package.json'
npm error enoent This is related to npm not being able to find a file.
npm error enoent

npm error A complete log of this run can be found in: /Users/belloshehu/.npm/_logs/2024-07-14T09_00_00_862Z-debug-0.log

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.