npm run build失败
问题:To install it, you can run: npm install --save @/views/SHbankCRS/accountwithdraw/TFR_inputAccount.vueERROR Build failed with errors.npm ERR! code ELIFECYCLEnpm ERR! errno 1npm ERR! vue-src@0.1.0 bu
问题:
To install it, you can run: npm install --save @/views/SHbankCRS/accountwithdraw/TFR_inputAccount.vue
ERROR Build failed with errors.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! vue-src@0.1.0 build: vue-cli-service build --mode development
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the vue-src@0.1.0 build 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\YH\AppData\Roaming\npm-cache_logs\2021-06-05T02_48_38_599Z-debug.log
终端进程“C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command npm run build”已终止,退出代码: 1。
原因:
路由index文件中多语句如下:
,
{
path: ‘TFR_inputAccount’,
meta: { headBtn: [], desc: ‘输入卡号’ },
component: () =>
import ( /* webpackChunkName: “app_main_pages” */ ‘@/views/SHbankCRS/accountwithdraw/TFR_inputAccount.vue’)
},
更多推荐
所有评论(0)