i installed node using nvm , had no problems installing globally packages npm. found if close terminal in installed package, "command not found" when attempting use it.
for example, browser-sync. closed terminal after finding worked properly. when opened later continue working on project need for, turns out "command not found" in every directory despite installing globally.
i running linux mint cinammon 17.3 latest version of node , npm.
any this?
i've since solved problem by:
- completely uninstalling nvm , node.
- reinstalling node using apt-get
- changing npm config prefix /usr/local
- correctly setting npm permissions
for reason despite multiple uninstalls/reinstalls , playing permissions before, wouldn't work until deleted folders created node or npm before reinstallment. weird.
Comments
Post a Comment