Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
354 views
in Technique[技术] by (71.8m points)

关于npm安装vue问题。

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

C:UsersAdministrator>npm run build
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "D: odejs ode.exe" "D: odejs ode_modules pmin pm-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>


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

最好先去了解下npm,然后找个实例运行下,vue不是这么用的.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...