Browserify: Browserify command not found

Created on 24 Sep 2014  路  2Comments  路  Source: browserify/browserify

Hello,

I just installed browserify via sudo npm install -g browserify but when I run

browserify -r ./app/collections/movies.js:movies \ -r ./app/models/movie.js:movie > static/bundle.js

The terminal answer but browserify : command not found

Can someone explain to me what I did wrong ?

Thank you in advance,

Most helpful comment

Your npm configuration must not be installing bin scripts into a location in your $PATH. Make sure that npm config get prefix/bin is in your $PATH.

All 2 comments

Your npm configuration must not be installing bin scripts into a location in your $PATH. Make sure that npm config get prefix/bin is in your $PATH.

@substack You are my hero. I've been searching for an answer to this for two days.

Was this page helpful?
0 / 5 - 0 ratings