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
Post a Comment