javascript - 关于npm安装vue问题。
怪我咯
怪我咯 2017-04-11 12:46:19
[JavaScript讨论组]

用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>

怪我咯
怪我咯

走同样的路,发现不同的人生

全部回复(1)
天蓬老师

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

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 举报中心 意见反馈 讲师合作 广告合作 最新更新 English
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号