NPM install for packages not working
Asked Answered
V

6

13

T hanks in advance for any help I can get.

I am trying to install packages like grunt, bower, and yeoman using nodejs and the NPM in my mac OSX 10.8's terminal.

I check node and NPM's versions to confirm they are installed correctly and have found that to be true. However when I begin to run a command to install a package like bower, using the following:

npm install -g bower

I get various amounts of errors coming up. I am trying to avoid using the sudo command. I tried using sudo, but afterwards I would get a response "command not found." I have a feeling the packages may not be in the correct folders or directories but I am unclear on what to do next.

For your reference these are the errors I get:

npm ERR! Error: EACCES, unlink '/Users/myname/.node/lib/node_modules/bower/.editorconfig'
npm ERR!  { [Error: EACCES, unlink '/Users/myname/.node/lib/node_modules/bower/.editorconfig']
npm ERR!   errno: 3,
npm ERR!   code: 'EACCES',
npm ERR!   path: '/Users/myname/.node/lib/node_modules/bower/.editorconfig' }
npm ERR! 
npm ERR! Please try running this command again as root/Administrator.

npm ERR! System Darwin 12.5.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "bower"
npm ERR! cwd /Users/myname
npm ERR! node -v v0.10.32
npm ERR! npm -v 1.4.28
npm ERR! path /Users/myname/.node/lib/node_modules/bower/.editorconfig
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! stack Error: EACCES, unlink '/Users/myname/.node/lib/node_modules/bower/.editorconfig'
npm ERR! error rolling back Error: EACCES, unlink '/Users/myname/.node/lib/node_modules/bower   /.editorconfig'
npm ERR! error rolling back  { [Error: EACCES, unlink '/Users/myname/.node/lib/node_modules/bower/.editorconfig']
npm ERR! error rolling back   errno: 3,
npm ERR! error rolling back   code: 'EACCES',
npm ERR! error rolling back   path: '/Users/myname/.node/lib/node_modules/bower/.editorconfig' }
npm ERR! not ok code 0

For privacy, I replaced my own name with the proxy myname in the paths. Moreover, this problem persists when I try installing grunt, and yeoman.

Upon further inspection, I noticed I have two folders. One named 'users' and one name 'usr.' Within 'users', I see a folder called node_modules. However, within 'usr/local/lib/node_modules/npm/node_modules' I noticed there is no bower, grunt, or yeoman files. This is just speculation, but are the files not properly installing into the necessary folders for them to be run in npm?

Any help or input would be extremely appreciated!

UPDATE 10/10/14

For people's reference, I have tried the sudo command to see if it would work, and it displays the following:

   /Users/myname/.node/bin/bower -> /Users/myname/.node/lib/node_modules/bower/bin/bower
     [email protected] /Users/myname/.node/lib/node_modules/bower
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected] ([email protected])
    ├── [email protected] ([email protected])
    ├── [email protected] ([email protected], [email protected], [email protected])
    ├── [email protected] ([email protected])
    ├── [email protected] ([email protected], [email protected], [email protected], [email protected])
    ├── [email protected] ([email protected])
    ├── [email protected] ([email protected])
    ├── [email protected] ([email protected], [email protected])
    ├── [email protected] ([email protected], [email protected], [email protected], strip- [email protected], [email protected])
    ├── [email protected] ([email protected], [email protected], [email protected])
    ├── [email protected] ([email protected], [email protected], [email protected])
    ├── [email protected] ([email protected], [email protected])
    ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
    ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
    ├── [email protected]
    ├── [email protected] ([email protected])
    ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
    ├── [email protected] ([email protected], [email protected], [email protected], [email protected])
    ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
    ├── [email protected] ([email protected], [email protected])
    └── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])

================================ However, the above is not a proper solution. When I try running a check to see if bower is installed like by typing bower -v or bower --version or any other bower command, I get "command not found." What is going on?

UPDATE 10/11/14

So nothing I have tried so far has given me the ability to run the command 'npm install -g bower.' Out of curiosity, as I have mentioned before, I have ran the 'sudo npm install -g bower command' which appeared to install bower. However, typing any bower commands still yields 'command not found.' Upon trying sudo bower commands leads to 'command not found' as well. What I do not understand though is that when I run the command 'npm ls' to look at what the NPM has installed, I interestingly have a list of the following installed packages. You do not need to read the list as it is long, but take note of how the first item appears to be bower. If this is true, and it means that bower was in fact installed by npm, why therefore, are bower commands not working?

    /Users/myname.
    ├─┬ [email protected]
    │ ├── [email protected]
    │ ├── [email protected]
    │ ├─┬ [email protected]
    │ │ ├── [email protected]
    │ │ ├─┬ [email protected]
    │ │ │ ├── [email protected]
    │ │ │ └── [email protected]
    │ │ └── [email protected]
    │ ├── [email protected]
    │ ├─┬ [email protected]
    │ │ ├── [email protected]
    │ │ ├── [email protected]
    │ │ └── [email protected]
    │ ├── [email protected]
    │ ├─┬ [email protected]
    │ │ ├── [email protected]
    │ │ ├── [email protected]
    │ │ ├── [email protected]
    │ │ ├── [email protected]
    │ │ ├─┬ [email protected]
    │ │ │ ├── [email protected]
    │ │ │ ├── [email protected]
    │ │ │ ├── [email protected]
    │ │ │ ├─┬ [email protected]
    │ │ │ │ ├── [email protected]
    │ │ │ │ └─┬ [email protected]
    │ │ │ │   └── [email protected]
    │ │ │ ├─┬ [email protected]
    │ │ │ │ ├── [email protected]
    │ │ │ │ ├── [email protected]
    │ │ │ │ ├── [email protected]
    │ │ │ │ └── [email protected]
    │ │ │ ├─┬ [email protected]
    │ │ │ │ ├── [email protected]
    │ │ │ │ ├── [email protected]
    │ │ │ │ └── [email protected]
    │ │ │ ├── [email protected]
    │ │ │ ├── [email protected]
    │ │ │ ├── [email protected]
    │ │ │ ├── [email protected]
    │ │ │ ├── [email protected]
    │ │ │ └── [email protected]
    │ │ └── [email protected]
    │ ├─┬ [email protected]
    │ │ └─┬ [email protected]
    │ │   └── [email protected]
    │ ├─┬ [email protected]
    │ │ ├── [email protected]
    │ │ ├── [email protected]
    │ │ ├─┬ [email protected]
    │ │ │ └── [email protected]
    │ │ ├─┬ [email protected]
    │ │ │ └── [email protected]
    │ │ └── [email protected]
    │ ├── [email protected]
    │ ├─┬ [email protected]
    │ │ ├─┬ [email protected]
    │ │ │ ├── [email protected]
    │ │ │ └─┬ [email protected]
    │ │ │   └── [email protected]
    │ │ ├── [email protected]
    │ │ ├── [email protected]
    │ │ ├─┬ [email protected]
    │ │ │ ├── [email protected]
    │ │ │ ├── [email protected]
    │ │ │ ├── [email protected]
    │ │ │ └── [email protected]
    │ │ └─┬ [email protected]
    │ │   └── [email protected]
    │ ├─┬ [email protected]
    │ │ └── [email protected]
    │ ├─┬ [email protected]
    │ │ ├── [email protected]
    │ │ └─┬ [email protected]
    │ │   └── [email protected]
    │ ├─┬ [email protected]
    │ │ ├── [email protected]
    │ │ ├─┬ [email protected]
    │ │ │ └── [email protected]
    │ │ └─┬ [email protected]
    │ │   └── [email protected]
    │ ├── [email protected]
    │ ├─┬ [email protected]
    │ │ ├─┬ [email protected]
    │ │ │ └── [email protected]
    │ │ └─┬ [email protected]
    │ │   ├── [email protected]
    │ │   └─┬ [email protected]
    │ │     └── [email protected]
    │ ├─┬ [email protected]
    │ │ ├─┬ [email protected]
    │ │ │ ├── [email protected]
    │ │ │ ├─┬ [email protected]
    │ │ │ │ ├── [email protected]
    │ │ │ │ └── [email protected]
    │ │ │ ├─┬ [email protected]
    │ │ │ │ ├─┬ [email protected]
    │ │ │ │ │ ├── [email protected]
    │ │ │ │ │ └── [email protected]
    │ │ │ │ ├── [email protected]
    │ │ │ │ ├── [email protected]
    │ │ │ │ └── [email protected]
    │ │ │ └─┬ [email protected]
    │ │ │   └── [email protected]
    │ │ ├── [email protected]
    │ │ ├── [email protected]
    │ │ ├── [email protected]
    │ │ ├─┬ [email protected]
    │ │ │ └─┬ [email protected]
    │ │ │   ├── [email protected]
    │ │ │   ├── [email protected]
    │ │ │   └── [email protected]
    │ │ ├── [email protected]
    │ │ └── [email protected]
    │ ├─┬ [email protected]
    │ │ ├── [email protected]
    │ │ ├─┬ [email protected]
    │ │ │ ├── [email protected]
    │ │ │ ├── [email protected]
    │ │ │ ├─┬ [email protected]
    │ │ │ │ └── [email protected]
    │ │ │ ├─┬ [email protected]
    │ │ │ │ └── [email protected]
    │ │ │ └── [email protected]
    │ │ ├─┬ [email protected]
    │ │ │ ├─┬ [email protected]
    │ │ │ │ ├─┬ [email protected]
    │ │ │ │ │ ├── [email protected]
    │ │ │ │ │ └── [email protected]
    │ │ │ │ └── [email protected]
    │ │ │ ├── [email protected]
    │ │ │ └── [email protected]
    │ │ ├─┬ [email protected]
    │ │ │ ├─┬ [email protected]
    │ │ │ │ ├── [email protected]
    │ │ │ │ ├─┬ [email protected]
    │ │ │ │ │ ├── [email protected]
    │ │ │ │ │ └── [email protected]
    │ │ │ │ ├─┬ [email protected]
    │ │ │ │ │ ├─┬ [email protected]
    │ │ │ │ │ │ ├── [email protected]
    │ │ │ │ │ │ └── [email protected]
    │ │ │ │ │ ├── [email protected]
    │ │ │ │ │ ├── [email protected]
    │ │ │ │ │ └── [email protected]
    │ │ │ │ └─┬ [email protected]
    │ │ │ │   └── [email protected]
    │ │ │ ├── [email protected]
    │ │ │ ├── [email protected]
    │ │ │ ├─┬ [email protected]
    │ │ │ │ └─┬ [email protected]
    │ │ │ │   ├── [email protected]
    │ │ │ │   ├── [email protected]
    │ │ │ │   └── [email protected]
    │ │ │ ├── [email protected]
    │ │ │ └── [email protected]
    │ │ ├─┬ [email protected]
    │ │ │ ├── [email protected]
    │ │ │ ├─┬ [email protected]
    │ │ │ │ └── [email protected]
    │ │ │ └─┬ [email protected]
    │ │ │   └── [email protected]
    │ │ ├── [email protected]
    │ │ ├─┬ [email protected]
    │ │ │ ├── [email protected]
    │ │ │ └── [email protected]
    │ │ └─┬ [email protected]
    │ │   └── [email protected]
    │ ├── [email protected]
    │ ├── [email protected]
    │ ├── [email protected]
    │ ├── [email protected]
    │ ├─┬ [email protected]
    │ │ └── [email protected]
    │ ├── [email protected]
    │ ├── [email protected]
    │ ├── [email protected]
    │ ├── [email protected]
    │ ├─┬ [email protected]
    │ │ └── [email protected]
    │ ├─┬ [email protected]
    │ │ └─┬ [email protected]
    │ │   └── [email protected]
    │ ├── [email protected]
    │ ├─┬ [email protected]
    │ │ ├── [email protected]
    │ │ ├─┬ [email protected]
    │ │ │ └─┬ [email protected]
    │ │ │   ├── [email protected]
    │ │ │   ├── [email protected]
    │ │ │   ├── [email protected]
    │ │ │   └── [email protected]
    │ │ ├── [email protected]
    │ │ ├── [email protected]
    │ │ ├─┬ [email protected]
    │ │ │ ├── [email protected]
    │ │ │ ├─┬ [email protected]
    │ │ │ │ └── [email protected]
    │ │ │ └── [email protected]
    │ │ ├─┬ [email protected]
    │ │ │ ├── [email protected]
    │ │ │ ├── [email protected]
    │ │ │ ├── [email protected]
    │ │ │ └── [email protected]
    │ │ ├─┬ [email protected]
    │ │ │ ├── [email protected]
    │ │ │ ├── [email protected]
    │ │ │ └── [email protected]
    │ │ ├── [email protected]
    │ │ ├── [email protected]
    │ │ ├── [email protected]
    │ │ ├── [email protected]
    │ │ ├── [email protected]
    │ │ ├── [email protected]
    │ │ ├─┬ [email protected]
    │ │ │ └── [email protected]
    │ │ └── [email protected]
    │ ├─┬ [email protected]
    │ │ └── [email protected]
    │ ├── [email protected]
    │ ├── [email protected]
    │ ├── [email protected]
    │ ├─┬ [email protected]
    │ │ ├── [email protected]
    │ │ ├── [email protected]
    │ │ ├── [email protected]
    │ │ └── [email protected]
    │ ├── [email protected]
    │ ├─┬ [email protected]
    │ │ ├─┬ [email protected]
    │ │ │ ├─┬ [email protected]
    │ │ │ │ └─┬ [email protected]
    │ │ │ │   └── [email protected]
    │ │ │ └── [email protected]
    │ │ └─┬ [email protected]
    │ │   ├── [email protected]
    │ │   ├─┬ [email protected]
    │ │   │ └─┬ [email protected]
    │ │   │   └── [email protected]
    │ │   ├─┬ [email protected]
    │ │   │ ├── [email protected]
    │ │   │ ├── [email protected]
    │ │   │ ├── [email protected]
    │ │   │ └── [email protected]
    │ │   └── [email protected]
    │ ├── [email protected]
    │ ├─┬ [email protected]
    │ │ ├─┬ [email protected]
    │ │ │ ├─┬ [email protected]
    │ │ │ │ ├─┬ [email protected]
    │ │ │ │ │ ├── [email protected]
    │ │ │ │ │ └── [email protected]
    │ │ │ │ └── [email protected]
    │ │ │ ├── [email protected]
    │ │ │ └── [email protected]
    │ │ ├─┬ [email protected]
    │ │ │ └─┬ [email protected]
    │ │ │   ├─┬ [email protected]
    │ │ │   │ └── [email protected]
    │ │ │   └─┬ [email protected]
    │ │ │     └─┬ [email protected]
    │ │ │       ├─┬ [email protected]
    │ │ │       │ └── [email protected]
    │ │ │       ├── [email protected]
    │ │ │       ├── [email protected]
    │ │ │       ├─┬ [email protected]
    │ │ │       │ └── [email protected]
    │ │ │       └── [email protected]
    │ │ ├── [email protected]
    │ │ └─┬ [email protected]
    │ │   └─┬ [email protected]
    │ │     └── [email protected]
    │ └── [email protected]
    ├─┬ [email protected]
    │ └── [email protected]
    ├─┬ [email protected]
    │ ├── [email protected]
    │ ├── [email protected]
    │ ├── [email protected]
    │ ├── [email protected]
    │ ├── [email protected]
    │ ├── [email protected]
    │ ├─┬ [email protected]
    │ │ ├─┬ [email protected]
    │ │ │ ├── [email protected]
    │ │ │ └─┬ [email protected]
    │ │ │   ├── [email protected]
    │ │ │   └── [email protected]
    │ │ └── [email protected]
    │ ├── [email protected]
    │ ├─┬ [email protected]
    │ │ ├── [email protected]
    │ │ └── [email protected]
    │ ├─┬ [email protected]
    │ │ ├── [email protected]
    │ │ └── [email protected]
    │ ├── [email protected]
    │ ├── [email protected]
    │ ├── [email protected]
    │ ├─┬ [email protected]
    │ │ ├─┬ [email protected]
    │ │ │ ├── [email protected]
    │ │ │ └── [email protected]
    │ │ └── [email protected]
    │ ├── [email protected]
    │ ├─┬ [email protected]
    │ │ ├── [email protected]
    │ │ └── [email protected]
    │ ├─┬ [email protected]
    │ │ └── [email protected]
    │ ├── [email protected]
    │ ├── [email protected]
    │ └── [email protected]
    └─┬ [email protected]
      ├─┬ [email protected]
      │ ├── [email protected]
      │ ├── [email protected]
      │ ├─┬ [email protected]
      │ │ ├── [email protected]
      │ │ └── [email protected]
      │ └── [email protected]
      └─┬ [email protected]
        ├─┬ [email protected]
        │ ├── [email protected]
        │ └── [email protected]
        ├─┬ [email protected]
        │ ├── [email protected]
        │ └─┬ [email protected]
        │   ├── [email protected]
        │   └── [email protected]
        ├── [email protected]
        └─┬ [email protected]
          ├─┬ [email protected]
          │ ├── [email protected]
          │ ├── [email protected]
          │ ├── [email protected]
          │ └── [email protected]
          └─┬ [email protected]
            └── [email protected]
Volant answered 10/10, 2014 at 20:56 Comment(5)
How did you install node?Mycetozoan
I went to nodejs' website. Downloaded the universal package for Mac which contained node v0.10.32pkg. Following the instructions from the package, I unlocked permissions to allow to install node since my security did not recognize the developer. Then I proceeded to install node as per the executable within the package. I agreed to the terms, then installed it on the default location the installer has already described, and then exited once it confirmed it installed node and npm.Volant
At the end, I get the following summary 'Node was installed at /usr/local/bin/node npm was installed at /usr/local/bin/npm Make sure that /usr/local/bin is in your $PATH.Volant
Assuming everything was correctly done, I went into terminal and typed npm install -g bower. And as already stated in my first post, I got the above results.Volant
I was having a similar error when using npm install of bower on ubuntu while using ubuntu as guest os on a vm on a shared drive. Reason was symlink was not supported by ubuntu. I solved this by censore.blogspot.in/2015/04/…Ham
B
6

This solved the problem for me:

sudo chown -R `whoami` ~/.node/lib/node_modules/bower/
npm install -g bower
bower -v
1.3.12

You shouldn't have to run npm install as sudo.

Burbage answered 14/11, 2014 at 10:41 Comment(0)
O
6

This worked for me:

I basically gave my user permissions to the directory mentioned right after this -> stack Error: EACCES, unlink..., in your case it would be something like sudo chown -R USERNAME /Users/myname/.

For people who are new to this, don't forget to change USERNAME in the command above with your own, if you don't know your username, simply run whoami to get it.

After that you can install any package without the need to use sudo, npm install -g SomePackage.

Ocasio answered 11/12, 2014 at 20:13 Comment(0)
T
4

Run the global (-g) installs as admin.

> sudo npm install -g bower

You got this error -

npm ERR! Please try running this command again as root/Administrator.

***** UPDATE BELOW *****

Check if it is installed and get the version

> bower -v

You might not be able to see bower now because it installed as admin. Try getting the version number by running

> sudo bower -v

You should see the version number now.

Take ownership of the package with chown

> cd /Users/<username>/.npm
> chown <username> bower*

I personally take ownership of everything in the /Users/ directory. It is your directory and not global.

> chown <username> *

***** UPDATE 2 BELOW *****

It looks like it's a PATH problem now. Do you see the npm directory in the PATH when you type

> echo $PATH

I use MacPorts so npm and node install in the /opt/local/bin and /opt/local/sbin directories. I did a quick check on the net and it looks like you need to have the following /usr/local/bin if you installed the package from the node site.

Check out this article about installing node (particularly the part about the PATH.

That link also references this article on how to modify your PATH.

Hope that helps.

Towner answered 10/10, 2014 at 23:36 Comment(7)
I've read that using the sudo command is not recommended. Moreover, despite trying this method to see if it works I get what looks like the bower package installed. However, when I type in simple bower commands like bower -v or bower --version, I get "-bash: bower: command not found."Volant
I just updated my answer. There's no way to get around using sudo to install globally. It makes sense because you are installing something everywhere... only admin should be able to do that. Taking ownership of your own user directory is perfectly safe.Towner
Ah I see. However i tried sudo bower -v and still get bower command not found.Volant
I think it's a PATH issue. I just updated the answer again. If that doesn't work, I might be out of ideas. Good luck and mark correct if it worked :)Towner
Hey VtoCorleone, I have a feeling it's a path issue as well. I'll report back if your proposed solution works. Thanks for all your input in so far.Volant
So I tried the instructions as listed in your links. I went into my terminal and cd'ed into my home directory. Following that, I ran the command ' nano .bash_profile and added the following:export PATH="/usr/local/bin:$PATH". I saved and then exited nano and checked using echo $PATH again only to see the same result as before. I made sure I saved and followed the instructions to a T.Volant
For reference as well, as the beginning of the tutorial stated to run mysql as the first thing to type, I typed 'npm' and then echo $PATH and did not get the expected result "/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin" as predicted by the tutorial.Volant
U
3

I was having similar issues when trying to install bower through NPM.

I am not an expert on this but was sure it was connected to $PATH and found 2 articles which in combination fixed this for me perfectly.

The first is this gist by Dan Haerbert: https://gist.github.com/DanHerbert/9520689

Dan says

"If you're a Mac Homebrew user and you installed node via Homebrew, there is a major philosophical issue with the way Homebrew and NPM work together. If you install node with Homebrew and then try to do npm update npm -g, you will see an error like this:"

The error he shows is very similar to your original error.

His solution is to re-install node but to make sure that NPM is not installed via homebrew since, as he says:

npm is its own package manager and it is therefore better to have npm manage itself and its packages instead of letting Homebrew do it. Also, using the Homebrew version of npm requires sudo to install global packages. That's also a very bad idea.

He says to uninstall node and then re-install it with the following commands:

brew install node --without-npm
echo prefix=~/.node >> ~/.npmrc
curl -L https://www.npmjs.org/install.sh | sh

And then to finish up with

export PATH="$HOME/.node/bin:$PATH"

This worked for me and fixed all my issues. I was able to run 'npm install -g bower' without getting the error message.

Finally, before I did the steps above, I wanted to make sure that I had fully uninstalled node & npm. To do that, I followed the following steps from stackoverflow question 11177954, specifically from the answer by Dominic Tancredi, who says:

To recap, the best way (I've found) to completely uninstall node + npm is to do the following:

  1. go to /usr/local/lib and delete any node and node_modules
  2. go to /usr/local/include and delete any node and node_modules directory
  3. if you installed with brew install node, then run brew uninstall node in your terminal
  4. check your Home directory for any local or lib or include folders, and delete any node or node_modules from there
  5. go to /usr/local/bin and delete any node executable You may need to do the additional instructions as well:
sudo rm /usr/local/bin/npm
sudo rm /usr/local/share/man/man1/node.1
sudo rm /usr/local/lib/dtrace/node.d
sudo rm -rf ~/.npm
sudo rm -rf ~/.node-gyp
sudo rm /opt/local/bin/node
sudo rm /opt/local/include/node
sudo rm -rf /opt/local/lib/node_modules

I hope that is of help to someone :-)

Unseasonable answered 14/3, 2015 at 12:9 Comment(0)
P
1

I had a similar issue with my mac. I did the followings to solve the problem.

  1. open 'Disk Utility' application
  2. select your hard drive.
  3. run verify disk permissions
  4. run repair disk permissions
Planck answered 11/10, 2014 at 0:12 Comment(3)
Do you mind explaining what that does specifically? I'll try it and report back on my progress.Volant
Just tried this method, and despite it all, I am still getting the originally mentioned errors.Volant
Usually, when I get that error, it was related to the permission issue with the folder where npm is trying to install the package. If this didn't fix your problem, you can try to run chown recursively on /Users/myname/.node folder.Planck
G
0

you need to chmod and change the file permission for all the files inside /Users//.config/configstore/

should work fine after that. Mac users may have to switch to root using su which they have to enable from system preferences before running chmod command.

Grandaunt answered 18/4, 2016 at 19:3 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.