Local gulp not found (Try running: npm install gulp)

前端 未结 5 1934
野趣味
野趣味 2021-01-31 13:12

I created a module (webapp-module-storage) which has the following definitions:

package.json

{
  \"dependencies\": {
    ..         


        
5条回答
  •  野的像风
    2021-01-31 13:36

    Try installing your dependencies first:

    npm install
    

    If still does not work, install gulp globally:

    npm install -g gulp
    

    if you find problems installing it. type sudo before npm.

    In case you need more info about why you need gulp globally and locally read this answer

提交回复
热议问题