vue-cli3.0,编译的时候,只是加了一个就编译不过去,如何解决

只是在文件里添加了一个文件min.js,都没import引入,竟然跑不起来,
报错了。不知道什么原因

内存溢出:
JavaScript heap out of memory

 60% building modules 423/463 modules 40 active ...ockjs-client\lib\event\trans-message.jsFATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: 00007FF7AC86ACB5 
 2: 00007FF7AC8444E6 
 3: 00007FF7AC844EF0 
 4: 00007FF7ACAD47FE 
 5: 00007FF7ACAD472F 
 6: 00007FF7AD008964 
 7: 00007FF7AD0066F8 
 8: 00007FF7ACBB12FB 
 9: 00007FF7ACEA09C0 
10: 0000026985FDC5C1 
npm ERR! code ELIFECYCLE
npm ERR! errno 134
npm ERR! iview-admin@2.0.0 dev: `vue-cli-service serve --open`
npm ERR! Exit status 134
npm ERR! 
npm ERR! Failed at the iview-admin@2.0.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\Administrator\AppData\Roaming\npm-cache\_logs\2018-10-22T12_49_08_442Z-debug.log
阅读 4.4k
1 个回答
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题