我用谷歌搜索了1个小时,发现这个错误仍然没有修复。
有人知道为什么会发生这种情况吗?我该如何修复它?
下面是完整的错误消息:
ERROR Failed to compile with 1 errors
Module build failed (from ./node_modules/vue-loader/lib/loaders/templateLoader.js):
RangeError: Invalid string length
谢谢!
发布于 2020-01-29 02:27:56
确保在package.json文件的开发依赖项中有vue-loader和vue-template-compiler。
"devDependencies": {
....
"vue": "^2.6.11",
"vue-loader": "^15.5.1",
"vue-template-compiler": "^2.6.11"
},
https://stackoverflow.com/questions/54770823
复制相似问题