码迷,mamicode.com
首页 > 其他好文 > 详细

vue2.5版本源代码编译报 Could not load ..\vue\src\core/config 错误的问题

时间:2018-06-05 20:04:55      阅读:1191      评论:0      收藏:0      [点我收藏+]

标签:proc   led   debug   .com   logs   direct   environ   ext   output   

前置说明:

日期:2018年6月5日

环境:win7系统、vscode、vue2.5.0源代码

 

1)问题现象:

技术分享图片

D:\workspace\html5\everyday2\vue>npm run dev

> vue@2.5.0 dev D:\workspace\html5\everyday2\vue
> rollup -w -c build/config.js --environment TARGET:web-full-dev

rollup v0.50.0
bundles D:\workspace\html5\everyday2\vue\src\platforms\web\entry-runtime-with-compiler.js → dist\vue.js...
[!] Error: Could not load D:\workspace\html5\everyday2\vue\src\core/config (imported by D:\workspace\html5\everyday2\vue\src\platforms\web\entry-runtime-with-compiler.js): ENOENT: no such file or directory, open ‘D:\workspace\html5\everyday2\vue\src\core\config‘
Error: Could not load D:\workspace\html5\everyday2\vue\src\core/config (imported by D:\workspace\html5\everyday2\vue\src\platforms\web\entry-runtime-with-compiler.js): ENOENT: no such file or directory, open ‘D:\workspace\html5\everyday2\vue\src\core\config‘
at load.catch.err (D:\workspace\html5\everyday2\vue\node_modules\rollup\dist\rollup.js:9973:11)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:182:7)
at Function.Module.runMain (internal/modules/cjs/loader.js:697:11)
at startup (internal/bootstrap/node.js:201:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:516:3)

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! vue@2.5.0 dev: `rollup -w -c build/config.js --environment TARGET:web-full-dev`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the vue@2.5.0 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\lenovo\AppData\Roaming\npm-cache\_logs\2018-06-05T10_56_08_535Z-debug.log

 

2)问题解决方案:

https://segmentfault.com/q/1010000007561786

 

vue2.5版本源代码编译报 Could not load ..\vue\src\core/config 错误的问题

标签:proc   led   debug   .com   logs   direct   environ   ext   output   

原文地址:https://www.cnblogs.com/waihoyu/p/9141370.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!