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

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

Related

Fix the upstream dependency conflict tfjs-react-native

I'm trying to install tfjs-react-native for a project that it's also using expo-camera but I get an error.
I followed the instructions on https://www.npmjs.com/package/#tensorflow/tfjs-react-native and installed every dependency, but I fail at the last step which is:
npm install #tensorflow/tfjs-react-native
I'm not able to understand what it's asking me. It seems that tfjs-react-native tries to use expo-camera#7 and I have installed the last one which is 12.3.0. Is that the problem? If so how can I fix this?
Hopefully somebody can help me out. Thanks
While resolving: alpr#1.0.0 npm ERR! Found: expo-camera#12.3.0 npm
ERR! node_modules/expo-camera npm ERR! expo-camera#"~12.3.0" from
the root project npm ERR! npm ERR! Could not resolve dependency: npm
ERR! peer expo-camera#"^7.0.0" from
#tensorflow/tfjs-react-native#0.8.0 npm ERR!
node_modules/#tensorflow/tfjs-react-native npm ERR!
#tensorflow/tfjs-react-native#"^0.8.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.
I solved it using --legacy-peer-deps. Now I was able to install it, my project still don't work but I will post the problem in another question.

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

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

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

unable to downgrade from angular 6 to angular 5

I created my project using angular 6 but due to some reasons i want to rollback to angular 5,I tried following commands but it is showing some errors.
node version- 10.4.1
npm version-6.1.0
npm ERR! code ETARGET
npm ERR! notarget No matching version found for #angular/cli#1.7.
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! C:\Users\TEKIZMA USER\AppData\Roaming\npm-cache\_logs\2018-06-
27T0
_21_53_446Z-debug.log
Please try to follow this Stack Answer
According to my knowledge first, try to downgrade NPM then angular.
And you might need to read this too.
Try possibly this way
npm install -g #angular/cli#YOUR_DESIRED_VERSION
You do not need to reinstall global version of Angular CLI.
Instead, you can use NPX library like:
npx -p #angular/cli#<version> new <app-name>

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?