itinance / itinance/react-native-fs

Trying to install React native expo cli but whenever i run npm install, I am getting this error, PLEASE HELP.

Open
#1,192 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
5k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

ashok@Ashoks-MacBook-Air reactnative % npm install expo-font axios
npm ERR! code EEXIST
npm ERR! syscall rename
npm ERR! path /Users/ashok/.npm/_cacache/tmp/5cd5f9b4
npm ERR! dest /Users/ashok/.npm/_cacache/content-v2/sha512/08/48/54a9aef2201e690b2e0fabfa0b6d0a23dbd2acdb05179c8e2d4cabeb9ddfb8ac4f9e98a28ff9a24d947dbe577e72cf00e1b446120053e7bbd97db208f4d5
npm ERR! errno EEXIST
npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/uglify-es: EACCES: permission denied, rename '/Users/ashok/.npm/_cacache/tmp/5cd5f9b4' -> '/Users/ashok/.npm/_cacache/content-v2/sha512/08/48/54a9aef2201e690b2e0fabfa
ashok@Ashoks-MacBook-Air reactnative % npm i axios
npm ERR! code ENOENT
npm ERR! syscall stat
npm ERR! path /Users/ashok/.npm/_cacache/content-v2/sha512/d6/3b/bd812bab2d3dbc6d4ce5dfa5c8dab466de11209c03f940cead7481f03944ceea8458e2ad67b6ad35a4983637cf74f7e15edb02af7108be6e3b67e11d8cef
npm ERR! errno ENOENT
ashok@Ashoks-MacBook-Air reactnative % npm i
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: expo-router@1.5.3
npm WARN Found: metro@undefined
npm WARN node_modules/metro
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer overridden metro@"^0.73.7" (was "~0.76.0") from expo-router@1.5.3
npm WARN node_modules/expo-router
npm WARN expo-router@"^1.2.0" from the root project
npm ERR! code ENOENT
npm ERR! syscall stat
npm ERR! path /Users/ashok/.npm/_cacache/content-v2/sha512/ba/14/39553f2a443e85d37b288bdd5baf3cb36890ffba43b043acff23341b7bcdafb81eb56ecb5273c360c798a7cd86e6fb8add2da7a799ef25949d43622c079e
npm ERR! errno ENOENT
npm ERR! enoent Invalid response body while trying to fetch https://registry.npmjs.org/@ampproject%2fremapping: ENOENT: no such file or directory, stat '/Users/ashok/.npm/_cacache/content-v2/sha512/ba/14/39553f2a443e85d37b288bdd5baf3cb36890ffba43b043acff23341b7bcdafb81eb56ecb5273c360c798a7cd86e6fb8add2da7a799ef25949d43622c079e'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in: /Users/ashok/.npm/_logs/2023-06-24T04_39_56_865Z-debug-0.log
ashok@Ashoks-MacBook-Air reactnative % npm update -g npm
npm ERR! code ENOENT
npm ERR! syscall stat
npm ERR! path /Users/ashok/.npm/_cacache/content-v2/sha512/22/af/fd1d8b9c3dde8f92f694c91088acf8eea4f96dace5b75948b3227ff1ddbc4437255b6bb3aa96fafbeafbace5edb195badb0ed8e08b8ab9e897acbeec9f17
npm ERR! errno ENOENT
ashok@Ashoks-MacBook-Air reactnative % npm i
npm ERR! code ENOENT
npm ERR! syscall stat
npm ERR! path /Users/ashok/.npm/_cacache/content-v2/sha512/d3/2b/2c3b29d465213dd70eb3e5214cd14c2e7ae8a00f5703850e39580c88391ac8f3e0498f04de0d88609ad6faaaf7e1a7325adc76b965f41872c1eb0181ad40
npm ERR! errno ENOENT
npm ERR! enoent Invalid response body while trying to fetch https://registry.npmjs.org/@jridgewell%2fgen-mapping: ENOENT: no such file or directory, stat '/Users/ashok/.npm/_cacache/content-v2/sha512/d3/2b/2c3b29d465213dd70eb3e5214cd14c2e7ae8a00f5703850e39580c88391ac8f3e0498f04de0d88609ad6faaaf7e1a7325adc76b965f41872c1eb0181ad40'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in: /Users/ashok/.npm/_logs/2023-06-24T04_43_40_328Z-debug-0.log
ashok@Ashoks-MacBook-Air reactnative %

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.