No local gulp install found even after installing npm install -g gulp

佐手、 提交于 2019-11-28 16:55:57
Mangled Deutz

As pointed out in the doc, you should install it globally (you did that) and add it to your project dev deps (locally):

npm install gulp --save-dev

I faced the same issue. Got it resolved by creating a link

npm link gulp

Check /home/username/.npm directory: maybe groups/owner of files is root. Change to username:

chown -R username.username /home/username/.npm

I've recently run into the "Local gulp not found" error message. I was able to work past it by creating a symlink from the global node_modules directory to the local project directory where my gulpfile.js is located.

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