cb() never called

What I Wanted to Do

Was trying to install dependencies by running npm install

What Happened Instead

I received the following errorā€¦

$ npm install
Unhandled rejection Error: EACCES: permission denied, mkdir '/Users/guy/.npm/_cacache/index-v5/50/61'

Unhandled rejection Error: EACCES: permission denied, mkdir '/Users/guy/.npm/_cacache/index-v5/50/2a'

Unhandled rejection Error: EACCES: permission denied, mkdir '/Users/guy/.npm/_cacache/index-v5/50/2a' 4ms

Unhandled rejection Error: EACCES: permission denied, mkdir '/Users/guy/.npm/_cacache/content-v2/sha512/0b/cf'

Unhandled rejection Error: EACCES: permission denied, mkdir '/Users/guy/.npm/_cacache/index-v5/50/9f'n 29ms

Unhandled rejection Error: EACCES: permission denied, mkdir '/Users/guy/.npm/_cacache/index-v5/50/2a'

Unhandled rejection Error: EACCES: permission denied, mkdir '/Users/guy/.npm/_cacache/index-v5/50/2a'n 29ms

Unhandled rejection Error: EACCES: permission denied, mkdir '/Users/guy/.npm/_cacache/content-v2/sha512/0b/cf'

Unhandled rejection Error: EACCES: permission denied, mkdir '/Users/guy/.npm/_cacache/content-v2/sha512/0b/ea'egex@^7.2.0 fetched in 53ms

Unhandled rejection Error: EACCES: permission denied, mkdir '/Users/guy/.npm/_cacache/index-v5/50/2a' 1ms

npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!     <https://npm.community>

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/guy/.npm/_logs/2019-02-21T11_21_15_645Z-debug.log

Reproduction Steps

Using Create React App, I removed my dependencies and package.json file to the re-install them using npm install.

NPM Logs

2019-02-21T11_33_12_992Z-debug.log (90.4 KB)

Platform Info

macOS, using Create React App.

$ npm --versions
v6.4.1
$ node -p process.platform
v10.15.1

I resolved this issue by resetting my permissions on my Mac. Instructions are hereā€¦ https://support.apple.com/en-us/HT203538

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.