I was trying to run npm install on a my project i deleted node modules to reinstall it again but I am getting a lot of errors on my terminal. All i did was npm install inside the supposed folder but was still getting errors. The error messages is below this message.Thanks
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\APPname\node_modules\.staging\react-native-441da136\React\CxxModule\RCTCxxMethod.h'npm WARN tar ENOENT: no such file or directory, open 'C:\Users\APPname\node_modules\.staging\react-native-441da136\React\CxxModule\RCTCxxMethod.mm'npm WARN tar ENOENT: no such file or directory, open 'C:\Users\APPname\node_modules\.staging\react-native-441da136\React\CxxModule\RCTCxxModule.h'npm WARN tar ENOENT: no such file or directory, open 'C:\Users\APPname\node_modules\.staging\react-native-441da136\React\CxxModule\RCTCxxModule.mm'npm WARN tar ENOENT: no such file or directory, open 'C:\Users\APPname\node_modules\.staging\react-native-441da136\React\CxxModule\RCTCxxUtils.h'npm WARN tar ENOENT: no such file or directory, open 'C:\Users\APPname\node_modules\.staging\react-native-441da136\React\CxxModule\RCTCxxUtils.mm'npm WARN tar ENOENT: no such file or directory, open 'C:\Users\APPname\node_modules\.staging\react-native-441da136\React\CxxModule\RCTNativeModule.h'npm WARN tar ENOENT: no such file or directory, open 'C:\Users\APPname\node_modules\.staging\react-native-441da136\React\CxxModule\RCTNativeModule.mm'npm ERR! code E404npm ERR! 404 Not Found: preset@1.0.0npm ERR! A complete log of this run can be found in:npm ERR! C:\Users\ABC\AppData\Roaming\npm-cache\_logs\2020-10-22T06_34_20_827Z-debug.log
npm-cache log file
13230 silly saveTree | | `-- postcss-value-parser@4.1.013230 silly saveTree | +-- hoist-non-react-statics@3.3.213230 silly saveTree | +-- shallowequal@1.1.013230 silly saveTree | `-- supports-color@5.5.013230 silly saveTree `-- validate.js@0.13.113231 verbose stack Error: 404 Not Found: preset@1.0.013231 verbose stack at fetch.then.res (C:\Program Files\nodejs\node_modules\npm\node_modules\pacote\lib\fetchers\registry\fetch.js:42:19)13231 verbose stack at tryCatcher (C:\Program Files\nodejs\node_modules\npm\node_modules\bluebird\js\release\util.js:16:23)13231 verbose stack at Promise._settlePromiseFromHandler (C:\Program Files\nodejs\node_modules\npm\node_modules\bluebird\js\release\promise.js:512:31)13231 verbose stack at Promise._settlePromise (C:\Program Files\nodejs\node_modules\npm\node_modules\bluebird\js\release\promise.js:569:18)13231 verbose stack at Promise._settlePromise0 (C:\Program Files\nodejs\node_modules\npm\node_modules\bluebird\js\release\promise.js:614:10)13231 verbose stack at Promise._settlePromises (C:\Program Files\nodejs\node_modules\npm\node_modules\bluebird\js\release\promise.js:693:18)13231 verbose stack at Async._drainQueue (C:\Program Files\nodejs\node_modules\npm\node_modules\bluebird\js\release\async.js:133:16)13231 verbose stack at Async._drainQueues (C:\Program Files\nodejs\node_modules\npm\node_modules\bluebird\js\release\async.js:143:10)13231 verbose stack at Immediate.Async.drainQueues [as _onImmediate] (C:\Program Files\nodejs\node_modules\npm\node_modules\bluebird\js\release\async.js:17:14)13231 verbose stack at runCallback (timers.js:705:18)13231 verbose stack at tryOnImmediate (timers.js:676:5)13231 verbose stack at processImmediate (timers.js:658:5)13232 verbose cwd C:\Users\APPname13233 verbose Windows_NT 10.0.1836213234 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "i" "npm-install-global"13235 verbose node v10.15.313236 verbose npm v6.4.113237 error code E40413238 error 404 Not Found: preset@1.0.013239 verbose exit [ 1, true ]