Problem with `selectBlock`
See original GitHub issueVersion
15.0.0
Reproduction link
https://github.com/riophae/vue-loader-bug
Steps to reproduce
- Clone the repo
- Install dependencies
- Run
npx webpack
What is expected?
It should build successfully.
What is actually happening?
Got error:
ERROR in ./src/App.vue?type=template (./node_modules/vue-loader/lib!./src/App.vue?type=template)
Module build failed: TypeError: Cannot read property 'content' of null
at selectBlock (/mnt/d/Projects/vue-loader-bug/node_modules/vue-loader/lib/select.js:6:27)
at Object.module.exports (/mnt/d/Projects/vue-loader-bug/node_modules/vue-loader/lib/index.js:58:12)
@ ./src/entry.js 4:17-62
The error is caused by this line: https://github.com/riophae/vue-loader-bug/blob/master/src/entry.js#L4
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (3 by maintainers)
Top Results From Across the Web
Problem publishing project - Questions - Radsystems Forum
Hi When I want to publish the project I get the following error: select.js:23 selectBlock [frontend]/[vue-loader]/dist/select.js:23:45 I'm ...
Read more >React Webpack. Why do I get an error when calling a function ...
The parent component passes the renderHack() function to the selectBlock component. The function fires the error: Uncaught TypeError: Cannot ...
Read more >SelectBlock | AutoCAD - Autodesk App Store
Run the command selectblock. Dialog box will appear. Select the block or multiple block types, select attributes name and add condition over attributes...
Read more >Error: Call to a member function getPattern() on null in Drupal ...
Problem /Motivation After upgrading the ctools module to the latest version, ... () on null in Drupal\panels\Controller\Panels->selectBlock().
Read more >How do we exit a CASE SELECT block? - Microsoft Community Hub
Yet, whenever we try to use this, we get a compile error. We are attempting to use the EXIT SELECT to end processing...
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
I seem to get the same error like
<filename>.vue?vue&type=script&lang=ts&setup=true
in vue-loader@16.4.1You need to do
require('!raw-loader!vue-loader!./App.vue?vue&type=template')
The leading
!
disables all other loaders andraw-loader
exports the selected content as a JavaScript string.Note this is not part of the public API and may break without notice.