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.

npm ERR! notarget No matching version found for @aws-amplify/ui@2.0.4.

See original GitHub issue

Before opening, please confirm:

JavaScript Framework

React

Amplify APIs

Authentication, GraphQL API

Amplify Categories

auth, api

Environment information

# Put output below this line
  System:
    OS: macOS 11.3.1
    CPU: (8) arm64 Apple M1
    Memory: 185.30 MB / 8.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.3.0 - /opt/homebrew/bin/node
    npm: 7.15.1 - /opt/homebrew/bin/npm
  Browsers:
    Chrome: 96.0.4664.55
    Safari: 14.1
  npmPackages:
    @testing-library/jest-dom: ^5.15.1 => 5.15.1 
    @testing-library/react: ^11.2.7 => 11.2.7 
    @testing-library/user-event: ^12.8.3 => 12.8.3 
    @types/jest: ^26.0.24 => 26.0.24 
    @types/node: ^12.20.37 => 12.20.37 
    @types/react: ^17.0.37 => 17.0.37 
    @types/react-dom: ^17.0.11 => 17.0.11 
    react: ^17.0.2 => 17.0.2 
    react-dom: ^17.0.2 => 17.0.2 
    react-scripts: 4.0.3 => 4.0.3 
    typescript: ^4.5.2 => 4.5.2 
    web-vitals: ^1.1.2 => 1.1.2 
  npmGlobalPackages:
    @aws-amplify/cli: 7.6.1
    aws-cdk: 1.132.0
    create-next-app: 11.0.1
    n: 7.1.0
    npm: 7.15.1
    pure-prompt: 1.16.0
    vercel: 23.0.1


Describe the bug

Running npm i aws-amplify results in the error

npm ERR! code ETARGET
npm ERR! notarget No matching version found for @aws-amplify/ui@2.0.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! A complete log of this run can be found in:
npm ERR!     /Users/tho/.npm/_logs/2021-12-02T23_16_56_139Z-debug.log

Expected behavior

aws-amplify installs locally.

Reproduction steps

  1. mkdir app & cd app & npm init
  2. npx create-react-app . --template typescript
  3. npm i aws-amplify

Code Snippet

// Put your code below this line.

Log output

// Put your logs below this line
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @aws-amplify/ui@2.0.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! A complete log of this run can be found in:
npm ERR!     /Users/tho/.npm/_logs/2021-12-02T23_25_44_232Z-debug.log

aws-exports.js

No response

Manual configuration

No response

Additional configuration

No response

Mobile Device

No response

Mobile Operating System

No response

Mobile Browser

No response

Mobile Browser Version

No response

Additional information and screenshots

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

5reactions
sammartinezcommented, Dec 2, 2021

Thanks for reporting this @Nicktho, we are looking to resolve this within the next hour. Please give us time to resolve this.

3reactions
sammartinezcommented, Dec 3, 2021

Awesome! I will go ahead and resolve this issue then

Read more comments on GitHub >

github_iconTop Results From Across the Web

Npm Error - No matching version found for - Stack Overflow
I have npm 8.1.2 and was trying to install newer version of angualr cli, got an error saying "No matching version found for...
Read more >
Can't install with NPM (No matching version found for @nlpjs ...
notarget a package version that doesn't exist. npm ERR! notarget npm ERR! notarget It was specified as a dependency of '@nlpjs/basic' npm ERR!...
Read more >
How to Solve "npm ERR! notarget No matching ... - YouTube
Support the stream: https://streamlabs.com/svmathtutornpm ERR ! notarget No matching version found for typescript@3.3.0npm ERR ! notarget In ...
Read more >
How to Solve "npm ERR! notarget No matching ... - YouTube
How to Solve " npm ERR ! notarget No matching version found for " error (Video1of2)). 3.7K views · Streamed 3 years ago...
Read more >
Common errors | npm Docs
Broken npm installation · Random errors · No compatible version found · Permissions errors · Error: ENOENT, stat 'C:\Users\<user>\AppData\Roaming\npm' on Windows 7 ...
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