question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Better error/warning when using v16 with Vue 2

See original GitHub issue

What problem does this feature solve?

Dependabot just bumped our Vue2 project to use vue-loader v16. I couldn’t see any breaking changes in the release notes, and the console just gives thousands of compilation warnings rather than telling me I’m using an incompatible version of Vue.

What does the proposed API look like?

I’d expect the loader to stop the build, and fail with a sensible warning.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:14
  • Comments:9

github_iconTop GitHub Comments

6reactions
zcoop98commented, Jul 13, 2022

This was incredibly frustrating to track down; I can’t believe it’s not noted anywhere in the readme or official docs. This is vital information for anyone still using this package and Vue 2 for whatever reason.

Can we please, please add a note somewhere that Vue 2 support was dropped after v15?

3reactions
6XGatecommented, Jun 30, 2021

v16 should be marked as @next for NPM and Yarn and not @latest to be inline with the way Vue v3 currently is. This just tripped up npm-check-updates.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: Cannot find module 'vue-loader-v16/package.json'
I had the same issue using laravel 9.x , laravel/ui , and use vue as scaffolding. my issue solves as I upgrade the...
Read more >
Migrate from v4 - Vue CLI
If you see errors like setup compilation vue-loader-plugin(node:44156) UnhandledPromiseRejectionWarning: TypeError: The 'compilation' argument ...
Read more >
VueJS website won't deploy npm run dev gives error
VueJS website won't deploy npm run dev gives error: "build command failed" ; Base directory: Not set ; Build command: npm run build...
Read more >
I got error trying to use vue-select in vuejs3 app - Laracasts
Trying to use vue-select in vuejs3 app I got error in console: test.vue?2762:16 ... Posted 2 years ago ... node_modules/vue-loader-v16/dist/index.js?!
Read more >
[Vue 3 & Vite 2] Uncaught (in promise) TypeError: Cannot read ...
Hi! @auth0/auth0-spa-js: v1.21.0 node: v16.13.0 vue-router: v4.0.14 vue: v3.2.31 vite: v2.9.1 Using getTokenSilently gives error in the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found