Answer the question
In order to leave comments, you need to log in
What is the error when installing a React app?
Installed the latest versions of Node, NPM.
Installed globally react-create-app.
Error after create-react-app command:
Unhandled rejection Error: EACCES: permission denied, mkdir '/Users/rinat_yuldashbaev/.npm/_cacache/index-v5/a2/b5'
npm ERR! cb() never called!
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'install',
1 verbose cli '--save',
1 verbose cli '--save-exact',
1 verbose cli '--loglevel',
1 verbose cli 'error',
1 verbose cli 'react',
1 verbose cli 'react-dom',
1 verbose cli 'react-scripts' ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session a3ee9adc29ce5dc6
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 http fetch GET 200 https://registry.npmjs.org/react 651ms
8 silly pacote tag manifest for [email protected] fetched in 779ms
9 http fetch GET 200 https://registry.npmjs.org/react-scripts 864ms
10 silly pacote tag manifest for [email protected] fetched in 873ms
11 timing npm Completed in 2590ms
12 error cb() never called!
13 error This is an error with npm itself. Please report this error at:
14 error <https://npm.community>
sudo npm cache verify
npm cache clean -f
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question