I was told to report here...

(TAKASHI KAIDA) #1

I was trying to install saas. So i first installed node.js without having any problem.
However, when I tried to install saas, this issue has happend.

The terminal said:
TakashinoMBP:~ takashi$ npm install -g node sass

Unhandled rejection Error: EACCES: permission denied, mkdir โ€˜/Users/takashi/.npm/_cacache/index-v5/16/4aโ€™

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/takashi/.npm/_logs/2019-03-27T09_12_29_717Z-debug.log

0 Likes

(John Gee) #2

Thanks. There is an open issue with installing global packages using sudo leaving behind files with the wrong ownership.

The short version is run this to fix the ownership, then try your install again:


sudo chown -R $(whoami) ~/.npm

The long version and canonical bug is: Global installs (sudo npm i -g) fail on Mac after 6.5 upgrade. Works fine after 6.4.1 downgrade.

0 Likes

(TAKASHI KAIDA) #3

Thank you for your reply.

I just tried the short version, but it seems nothing has happenedโ€ฆ

0 Likes

(TAKASHI KAIDA) #4

Now terminal says
finalize:sass: sill doSerial finalize 1504

pausing about 3min

0 Likes

(system) closed #5

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

0 Likes