node.js - unable use any installed npm packages -


i'm trying use node on fedora 21 installation. whenever install package via npm not able to call package such gulp.

npm install -g gulp 

then : gulp run

error:

zsh: command not found: gulp 

you need point global $path variable location of node. otherwise, return error.

open .zshrc file , ensure see path=/usr/bin/node:$path (ensuring directory proper 1 node). can find directory location command npm -g bin.

if doesn't work, comment below. thanks


Comments

Popular posts from this blog

python - Installing PyDev in eclipse is failed -

PHP OOP-based login system -

c# - Nested Internal Class with Readonly Hashtable throws Null ref exception.. on assignment -