search

Home  >  Q&A  >  body text

javascript - npm installed gulp successfully, but it prompted that gulp is not an internal command. Global installation will report an error and the installation is unsuccessful.

PHP中文网PHP中文网2741 days ago3957

reply all(4)I'll reply

  • 漂亮男人

    漂亮男人2017-07-06 10:37:53

    npm install -g gulp

    After global installation, it can be executed as a command

    reply
    0
  • typecho

    typecho2017-07-06 10:37:53

    --Save installation, as a project dependency method, you can try it through npm run script, or install it globally as mentioned above.

    reply
    0
  • PHP中文网

    PHP中文网2017-07-06 10:37:53

    Yeah. The first floor is right

    reply
    0
  • 大家讲道理

    大家讲道理2017-07-06 10:37:53

    It turns out that my default installation path is wrong. I recommend a good tutorial http://blog.csdn.net/xxmeng20..., thank you all

    reply
    0
  • Cancelreply