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

你离开我真会死。 提交于 2019-12-05 10:27:29

Try running

npm install browserify-incremental

It is best, however, to save this to a package.json file (so that when you deploy your code, you only have to run npm install, as you would bundle install).

If you don't have a package.json file, create one by running:

npm init

in your rails project's root directory.

Once you've done this, or if you already have a package.json file, you can save packages to it by running:

npm install --save <package_name>

If you have existing node packages installed in this project, npm init will automatically add these to your package.json file. If npm init prompts you for something that you're not sure of, or is not applicable to your application, just press enter and tidy up the package.json file afterwards. You should only ever need to run npm init once.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!