I install Browserify:
npm install -g browserify
then I try to run it:
$ browserify main.js > bundle.js
and Windows says
'browserify' is not recognized as an internal or external command
Why is that? The Browserify page promises it will work, but it does not.
I resolved this issue by
npm uninstall browserify --save
npm install browserify -g
npm install browserify-shim -- save
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With