aws-amplify / amplify-cli

The AWS Amplify CLI is a toolchain for simplifying serverless web and mobile development.
Apache License 2.0
2.83k stars 822 forks source link

Unable to upgrade amplify cli. #14014

Closed LeoReubelt closed 1 week ago

LeoReubelt commented 1 week ago

How did you install the Amplify CLI?

npm

If applicable, what version of Node.js are you using?

16.14.0

Amplify CLI Version

7.5.4

What operating system are you using?

Windows

Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.

No

Describe the bug

I am trying to upgrade to 12.0.3. I run npm install -g @aws-amplify/cli@12.0.3 and get the following...

npm WARN deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm WARN deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported

removed 7 packages, changed 26 packages, and audited 28 packages in 15s

2 vulnerabilities (1 moderate, 1 critical)

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.

but when I run amplify version it is not upgraded.

Expected behavior

I wou;ld expect amplify version to reflect 12.0.3.

Reproduction steps

I haven't used this pc in a long time. So idk exactly, but intall version 7.5.4 and then intsall 12.0.3

Project Identifier

No response

Log output

``` # Put your logs below this line ```

Additional information

No response

Before submitting, please confirm:

github-actions[bot] commented 1 week ago

This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one.