R
R
rinatoptimus2019-07-17 22:13:15
Node.js
rinatoptimus, 2019-07-17 22:13:15

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!

KAgolYBiEeLXKA.jpg
There is no b5 folder in the index-v5/a2 folder.
File 2019-07-17T18_58_49_668Z-debug.log:
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>

Already entered
sudo npm cache verify
and
npm cache clean -f
UPDATE. Deleted the .../username/.npm folder - it worked

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
rinatoptimus, 2019-07-17
@rinatoptimus

Deleted the .../username/.npm folder - it worked

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question