Wednesday, 19 April 2017

BrowserifyRails::BrowserifyError with npm and rails

I'm trying to run a local application using ruby on rails. At first time to run local server, it complain about nodejs, which was installed sucessfully. After, the error when local server is about to run:

Unable to run node_modules/.bin/browserify. Ensure you have installed it with npm.

Npm was installed and browserify with this command:

npm install -g browserify

Installed with no problems. But when I do this command

npm install browserify-incremental

It installs but shows this warning:

UNMET DEPENDENCY browserify@^12.0.1 browserify

I follow this thread on SO.



via learner

No comments:

Post a Comment