mean.io / no matching version found for ajv#undefined - npm

I wanted to run mean.io and got this error after npm install.
npm ERR! code ETARGET
npm ERR! notarget No matching version found for ajv#undefined
npm ERR! notarget In most cases you or one of your dependencies are
requesting
npm ERR! notarget a package version that doesn't exist.

Use Yarn insted of NPM ( Tested for MEAN v2.0.1 )
MEAN Installation
yarn install
yarn build
yarn start
More Info: https://github.com/linnovate/mean

Related

No matching version found for #aws-amplify/analytics#5.2.9

I got this issue when I tried to install aws-amplify. I tried on a Mac and Windows and I got the same.
npm i aws-amplify
npm ERR! code ETARGET
npm ERR! notarget No matching version found for #aws-amplify/analytics#5.2.9.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
Check out this github issue, it addresses work arounds for now: https://github.com/aws-amplify/amplify-js/issues/9934

I am not able to install npm packages on my vaadin project

happy new year!
Any package that I am trying to install I am getting this:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: #rollup/pluginutils#3.1.0
npm ERR! Found: dev #rollup/plugin-typescript#"^3.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! dev #rollup/plugin-typescript#"^3.0.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See ~/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! ~/.npm/_logs/2022-01-02T16_54_42_026Z-debug.log
I am trying to use this npm install --save #fortawesome/fontawesome-free
I don't understand what could be wrong.
as it said in the error, you are handling an old package dependency and therefore you can use --force, or --legacy-peer-deps
Another solution that worked for me, and I think is better, try to install it through pnpm, as it seems to handle it.
I will guess you have decided to update npm itself recently on your local env.
if you run the following (as per your error message), it should install dependencies without trouble.
npm i --legacy-peer-deps
Running npm v8+ to update your dependencies will upgrade the version of your package-lock.json. The issue is that your repo libraries have many old dependencies which might not be compatible with this update. When you run npm with --legacy-peer-deps it uses the old ways...
I have encountered similar problems. After checking, I found that the primary group permission of the node program home directory is 500.500, which needs to be set to root root
Did you try this :
sudo npm install --save #fortawesome/fontawesome-free

Cannot upgrade to Vue 3

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

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?