node.js - Skip local installation of Gulp -


can somehow skip local installation of gulp project?

i installed gulp globally, added package.json dependency. still gulp wants installed locally local gulp not found in ... message. if local install, gulp copied project node.

is there way skip local installation of gulp? want able run across whole server command line , manage installation globally.

one clean way without have locally install gulp globally did , run in directory command :

npm link gulp 

it create symbolic link in node_modules folder global gulp install. need careful on versions since symlinks , therefore local project(s) use global one, no matter of defined version in package.json, cause errors on deployed environment.

this applicable every node package, , allow update local install you've created way of multiple projects @ once.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -