search

Home  >  Q&A  >  body text

javascript - The last step of global installation of vue-cli is to run npm run dev and an error is reported.

I installed vue-cli globally and then generated the project on the D drive. Finally, I reported this error when npm run dev. What is this error?

伊谢尔伦伊谢尔伦2708 days ago1085

reply all(3)I'll reply

  • 大家讲道理

    大家讲道理2017-07-05 10:41:33

    First install globally $ npm i vue-cli -g and then in the D drive $ vue init webpack-simple wue-todos. After successful creation, enter the vue-todo directory to install the basic support package $ npm i. Finally run $ npm run dev
    Linux, The Mac test is completed, and there is no error in the screenshot of the question.

    reply
    0
  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-07-05 10:41:33

    event.js:160, there is an error in this project itself.

    reply
    0
  • 代言

    代言2017-07-05 10:41:33

    The port is occupied, please change the port in config/index.js

    reply
    0
  • Cancelreply