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?
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?
Copyright © 2021 Jogjafile Inc.
you just need to add
/usr/local/share/npm/binto your path.Try adding the following line to your bash profile (in
~/.profile, or~/.bashrc, etc.):Then source the file to your current environment with
. ~/.profile. And that should fix your issue.Going forward, I would recommend using
nvmto manage your node versions, and npm installs.