Установлены последние версии Node, NPM.
Установлен глобально react-create-app.
После команды create-react-app ошибка:
Unhandled rejection Error: EACCES: permission denied, mkdir '/Users/rinat_yuldashbaev/.npm/_cacache/index-v5/a2/b5'
npm ERR! cb() never called!
В папке index-v5/a2 отсутствует папка b5.
Файл 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 npm@6.9.0
3 info using node@v10.16.0
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 react@latest fetched in 779ms
9 http fetch GET 200 https://registry.npmjs.org/react-scripts 864ms
10 silly pacote tag manifest for react-scripts@latest 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
UPDATE. Удалил папку .../username/.npm - заработало