Cannot upgrade to Vue 3 - vue.js

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
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
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
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

Related

unable to install jscodeshift

Unable to install jscodeshift.
> npm i jscodeshift -g
npm ERR! code ETARGET
npm ERR! notarget No matching version found for #babel/helper-string-parser#^7.19.4.
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! notarget
npm ERR! notarget It was specified as a dependency of '#babel/types'
npm ERR! notarget
any suggestions for getting past this?
I tried installing the #babel/helper-string-parser#^7.19.4 but to no avail. The package is not available.

NPM peer dependency conflict caused through (correct) peerDependency

I created several NPM libraries myself.
One of them is called datahive-ngx-graph and has version number 0.0.11
Another one is called datahive-ngx-spo-layout and has a version number 0.0.7
The datahive-ngx-spo-layout needs the ngx-graph package and therefore has a peerDependency for it in the package.json:
"datahive-ngx-graph": "^0.0.9",
This means for me that the datahive-ngx-spo-layout can only be installed in projects that have at least version 0.0.9 but < 0.1.0 of this package installed.
My current project has the following entries:
"datahive-ngx-graph": "^0.0.11",
"datahive-ngx-spo-layout": "^0.0.7",
So the requirement should be fulfilled, right?
But when I do npm install, I still get the following error message:
npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency
tree npm ERR! npm ERR! While resolving: group-hive#1.0.0 npm ERR!
Found: datahive-ngx-graph#0.0.11 npm ERR!
node_modules/datahive-ngx-graph npm ERR!
datahive-ngx-graph#"^0.0.11" from the root project npm ERR! npm ERR!
Could not resolve dependency: npm ERR! peer
datahive-ngx-graph#"^0.0.9" from datahive-ngx-spo-layout#0.0.7 npm
ERR! node_modules/datahive-ngx-spo-layout npm ERR!
datahive-ngx-spo-layout#"^0.0.7" from the root project
This appears strange to me. Did I misunderstand something regarding the meaning of ^ or ~ in the NPM package names?
Where could be my problem?

npm #fortawesome/fontawesome-pro-webfonts package not found

I am trying to install #fortawesome/fontawesome-pro-webfonts through npm. I have set their repository into my npm config
; userconfig C:\Users\user10\.npmrc
#fortawesome:registry = "https://npm.fontawesome.com/MY-PRO-KEY"
When I run npm install I get:
npm ERR! code ETARGET
npm ERR! notarget No matching version found for #fortawesome/fontawesome-pro-webfonts#5.2.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! notarget
If I use npm install --save-dev #fortawesome/fontawesome-pro it successfully installs the package.
why when I use npm install it does not find the package?

Dependency error (yeoman-generator) while trying to install webpack-cli

I've followed the instructions at https://www.npmjs.com/package/webpack-cli/tutorial but am getting this error:
$ npm install webpack-cli
npm ERR! code ETARGET
npm ERR! notarget No matching version found for yeoman-generator#ev1stensberg-generator-Feature-getArgument.tar.gz-art-external
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! notarget
npm ERR! notarget It was specified as a dependency of 'webpack-cli'
npm ERR! notarget
I searched for yeoman-generator and installed it, but still get the same error. How can I get around this?

Can't install claymate with npm, error: No compatible version found: bower-config#'>=0.2.0 <0.3.0'

I'm trying to install claymate with npm with no success. It gives me:
mateuss-air:~ mateuspinheiro$ npm install claymate
npm ERR! Darwin 13.3.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "claymate"
npm ERR! node v0.10.32
npm ERR! npm v2.0.0
npm ERR! code ETARGET
npm ERR! notarget No compatible version found: bower-config#'>=0.2.0 <0.3.0'
npm ERR! notarget Valid install targets:
npm ERR! notarget ["0.1.0-rc.1","0.1.0-rc.2","0.1.0-rc.3","0.1.0-rc.4","0.1.0-rc.5","0.2.0-rc.1","0.2.0-rc.2","0.3.0","0.3.1","0.3.3","0.3.4","0.3.5","0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.4.5","0.5.0","0.5.1","0.5.2"]
npm ERR! notarget
npm ERR! notarget This is most likely not a problem with npm itself.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
Any clues?
Thanks!
Very simple: Don't install npm using HomeBrew. It messes things up.
Installed the npm that comes with node and it's perfectly fine now.
I've got an answer for ya. Did that few days ago and finaly got claymate to work. Hope it helps somebody.
U have to install npm#1 ( write it like so ). Then go to install directory ( cause U use nmp2 by default ) and install claymate from that place.
That's it.
As simple as that and I've spent a lot of time figuring it out.
Does not work for me.
I installed node & npm via the binary installer and updated npm to 2.6
sudo npm install -g npm
npm ERR! Darwin 14.1.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "-g" "claymate"
npm ERR! node v0.12.0
npm ERR! npm v2.5.1
npm ERR! code ETARGET
npm ERR! notarget No compatible version found: bower-config#'>=0.2.0 <0.3.0'
npm ERR! notarget Valid install targets:
npm ERR! notarget ["0.1.0-rc.1","0.1.0-rc.2","0.1.0-rc.3","0.1.0-rc.4","0.1.0-rc.5","0.2.0-rc.1","0.2.0-rc.2","0.3.0","0.3.1","0.3.3","0.3.4","0.3.5","0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.4.5","0.5.0","0.5.1","0.5.2"]
npm ERR! notarget
npm ERR! notarget This is most likely not a problem with npm itself.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.