ender.js install fails

119 views Asked by At

I'm trying to install ender.js. I've run the following command

 sudo npm install ender -g

but after the install (with no error), I can't access ender command line. I have the latest node and npm install (via brew)

anybody ran into this problem?

1

There are 1 answers

0
Chad On BEST ANSWER

you just need to add /usr/local/share/npm/bin to your path.

Try adding the following line to your bash profile (in ~/.profile, or ~/.bashrc, etc.):

PATH=$PATH:/usr/local/share/npm/bin

Then source the file to your current environment with . ~/.profile. And that should fix your issue.

Going forward, I would recommend using nvm to manage your node versions, and npm installs.