npm install -g @aws-amplify/cli
Current behavior:
npm warn deprecated [email protected]: 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 [email protected]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
❯ npm amplify -v_
10.8.2
NextJS version:
[email protected]
NodeJS version:
v20.16.0
operating systems used:
macOS: 14.5
Steps tested and none of it worked:
npm install -g @aws-amplify/cli
curl -sL https://aws-amplify.github.io/amplify-cli/install | bash && $SHELL
npm cache clean –force
npm uninstall -g @aws-amplify/cli
npm install -g @aws-amplify/cli
nvm install –lts
nvm use –lts
npx amplify configure
npx amplify init
npx amplify add auth
npx amplify push