2

I'm trying to upgrade my app from Vue 2 to Vue 3 following this guide: https://v3-migration.vuejs.org/breaking-changes/migration-build.html#installation

However I fail at multiple levels

  1. When I want to upgrade loader npm install vue-loader@^16.0.0
npm ERR! notarget No matching version found for @vue/babel-preset-app@^4.5.13.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/chyno/.npm/_logs/2021-07-25T08_33_22_878Z-debug.log
  1. When I want to upgrade cli service vue upgrade
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @vue/cli-service@~4.5.13.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/chyno/.npm/_logs/2021-07-25T08_41_29_627Z-debug.log
 ERROR  command failed: npm install --loglevel error @vue/cli-service@~4.5.13
  1. When updating package.json according to the guide
npm ERR! notarget No matching version found for @vue/compiler-sfc@^3.1.0.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/chyno/.npm/_logs/2021-07-25T08_44_50_636Z-debug.log

I'm using nvm 0.38.0, node v16.5.0, npm 7.19.1

6
  • Does this question/answer help?: stackoverflow.com/questions/44331005/… Commented Jul 25, 2021 at 8:59
  • All of those outputs from npm view suggest that there are available versions that I need. (@vue/babel-preset-app 4.5.13, @vue/vue-cli-service 4.5.13, @vue/compiler-sfc 3.1.5) Commented Jul 25, 2021 at 9:06
  • please check this answer stackoverflow.com/a/64881079/8172857 Commented Jul 25, 2021 at 9:16
  • Thanks, but there I fail again at the step 2: "No matching version found for @vue/[email protected]". Maybe it's something wrong with npm? Commented Jul 25, 2021 at 9:24
  • 1
    Check this tutorial for Vue v3 setup without vue-cli: frontendguruji.com/blog/… Commented Jan 2, 2022 at 8:39

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.