Failed to build for missing `descriptor.scriptCompiled` inside `selectBlock`
See original GitHub issueVersion
16.0.0-beta.6
Steps to reproduce
node_modules/@vue/cli-service/node_modules/vue-loader-v16
ERROR Failed to compile with 1 errors
error in ./src/App.vue?vue&type=script&lang=js
Module build failed (from ./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js):
TypeError: Cannot read property 'content' of undefined
at Object.selectBlock (/Users/hekai/Workspace/baidu/hairuo-uploader/demo/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/select.js:24:45)
at Object.loader (/Users/hekai/Workspace/baidu/hairuo-uploader/demo/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js:59:25)
@ ./src/App.vue?vue&type=script&lang=js 1:0-292 1:0-292 1:293-574 1:293-574
@ ./src/App.vue
@ ./src/main.js
@ multi ./src/main.js
I found that selectBlock
is invoked while descriptor.scriptCompiled
have not been assigned. No more idea about the issue.
https://github.com/vuejs/vue-loader/blob/f19f2b36ac6e8c7c2312767d14bfba3e9ea8ea55/src/index.ts#L134
What is expected?
Build success
What is actually happening?
Build failed
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (3 by maintainers)
Top Results From Across the Web
r/eu4 - Mod missing descriptor file error - Any updates or new ...
I checked some other mod's path and the path was not even specified in the file but it works. path="C:/Program Files (x86)/Steam/steamapps/ ...
Read more >Script Debugger Help - Late Night Software
If you attempt to open a compiled script that targets a missing application. In this case, on Mac OS X 10.4 (Tiger) and...
Read more >Mod missing descriptor file - Stellaris - Steam Community
For some reason, I am unable to launch or play the mod, because it is "Missing a descriptor file." I've uninstalled and reinstalled...
Read more >Script Debugger Help - Amazon S3
NOTE: If you attempt to save a script and there's a compile error, Script. Debugger will offer, in the Compile Error dialog, to...
Read more >Vue.js - Bountysource
We tried to use scoped CSS in our components. In our application we also make use of slots. We came across the problem...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Interesting - I’m not experiencing this issue anymore. I don’t think I’ve upgraded any package that could have affected this or done any major changes as the problem appeared for a whole bunch of components, however, I did nuke
node_modules
, removepackage-lock.json
, and reinstalled packages…Should have been fixed in v16.0.0