Open
Description
Version
2.6.6
Reproduction link
https://codepen.io/lkafai/pen/Erpgze
Steps to reproduce
package.json:
"vue": "^2.5.22",
"vue-server-renderer": "^2.6.6"
run command
vue-cli-service build
What is expected?
success render
What is actually happening?
TypeError: Cannot read property 'replace' of undefined
at normalizeFile (/node_modules/_vue-server-renderer@2.6.6@vue-server-renderer/build.dev.js:8998:27)
i open the file vue-ssr-client-manifest.json , and found that some id in modules got -1 index
"modules": {
"13323344": [
13,
14
],
"0b0ba5ab": [
3,
15,
-1,
16
],
and the -1 index not found any file.
so in vue-server-renderer/build.dev.js file,the normalizeFile get undefined , and throw out "Cannot read property 'replace' of undefined"
i have no idea why there is -1 in modules , and file mapping fail, is this a configure problem?
my vue.config.js is writed in codepen , sorry for my poor english
Metadata
Metadata
Assignees
Labels
No labels