关于npm安装vue问题。

用npm安装完vue,为什么无法运行,谢谢。
C:UsersAdministrator>run
'run' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

C:UsersAdministrator>npm run build
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "D:\nodejs\node.exe" "D:\nodejs\node_modules\npm\bin\npm-cli.js" "run" "build"
npm ERR! node v6.10.0
npm ERR! npm v3.10.10
npm ERR! path C:UsersAdministratorpackage.json
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall open

npm ERR! enoent ENOENT: no such file or directory, open 'C:UsersAdministratorpackage.json'
npm ERR! enoent ENOENT: no such file or directory, open 'C:UsersAdministratorpackage.json'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! Please include the following file with any support request:
npm ERR! C:UsersAdministratornpm-debug.log

C:UsersAdministrator>


呼啦一阵风
浏览 1103回答 1
1回答

大话西游666

最好先去了解下npm,然后找个实例运行下,vue不是这么用的.
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

JavaScript