search

Home  >  Q&A  >  body text

github - How to run the front-end project "Douban Movie" locally, but the installation of vue-cli using the node.js command line fails?

github project address: https://github.com/monkeyWang...
Baidu network disk download address: http://pan.baidu.com/s/1i4M318h

Official installation tutorial:

Local computer, enter the error message prompted by the command line

Environment description: In the window system, node-v8.1.1.js has been installed, and you can see that node and npm are installed successfully under the cmd command line;

Why is it useless to enter the command line above?

学习ing学习ing2760 days ago967

reply all(4)I'll reply

  • 给我你的怀抱

    给我你的怀抱2017-06-17 09:18:48

    You get to execute the command in the project folder. You are now on the C drive. .

    reply
    0
  • 过去多啦不再A梦

    过去多啦不再A梦2017-06-17 09:18:48

    The environment variables of Windows are not configured. You need to find vue.cmd and configure the path address to the computer

    reply
    0
  • 天蓬老师

    天蓬老师2017-06-17 09:18:48

    It seems that if node8.1.1, vue-cli cannot install scaffolding, it is recommended to try downgrading to 8.0.1 or below

    reply
    0
  • 黄舟

    黄舟2017-06-17 09:18:48

    Just npm install directly in the root directory and then npm run dev
    I suggest you read the README file carefully

    reply
    0
  • Cancelreply