为了账号安全,请及时绑定邮箱和手机立即绑定

关于npm安装vue问题。

关于npm安装vue问题。

呼啦一阵风 2018-10-25 18:15:14
用npm安装完vue,为什么无法运行,谢谢。C:UsersAdministrator>run'run' 不是内部或外部命令,也不是可运行的程序或批处理文件。C:UsersAdministrator>npm run buildnpm ERR! Windows_NT 10.0.10586npm ERR! argv "D:\nodejs\node.exe" "D:\nodejs\node_modules\npm\bin\npm-cli.js" "run" "build"npm ERR! node v6.10.0npm ERR! npm v3.10.10npm ERR! path C:UsersAdministratorpackage.jsonnpm ERR! code ENOENTnpm ERR! errno -4058npm ERR! syscall opennpm 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 itselfnpm ERR! enoent and is related to npm not being able to find a file.npm ERR! enoentnpm ERR! Please include the following file with any support request:npm ERR! C:UsersAdministratornpm-debug.logC:UsersAdministrator>
查看完整描述

1 回答

?
大话西游666

TA贡献1817条经验 获得超14个赞

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


查看完整回答
反对 回复 2018-11-27
  • 1 回答
  • 0 关注
  • 1102 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信