Command Issue Still unable to resolve
Hey @RFason thanks for clarifying. Moving forward I would make sure:
- Node and NPM are installed
npm bin -gis a part of ourPATHenvironment variable- after
@aws-amplify/amplify-cliis installed withnpm i -g @aws-amplify/amplify-cli, we can confirm the binary is available withwhich amplify
For reference, we can alternatively use a Node version manager like nvm, more info can be found on the npm docs
We can also set a custom npm prefix
With that I will close this issue for now, however if needed we can re-open to investigate further. Please use the NPM docs as a point of reference for troubleshooting globally installed packages and binaries not available
Originally posted by @josefaidt in https://github.com/aws-amplify/amplify-cli/issues/10127#issuecomment-1089142416
- Node is installed -v16.14.2 -NPM is installed. -8.5.0 -NVM is installed
Still unable to install Amplify CLI
Tried using - npm i -g @aws-amplify/amplify-cli
Received this error
npm ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/@aws-amplify%2famplify-cli - Not found npm ERR! 404 npm ERR! 404 '@aws-amplify/amplify-cli@*' is not in this registry. npm ERR! 404 You should bug the author to publish it (or use the name yourself!) npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url.
Hey @RFason my apologies the npm package name is @aws-amplify/cli
I've also re-opened the other issue and will be closing this in favor of tracking existing issue. In the future, please consider filing an issue using our structured bug report template, which can help us gather additional context around your environment and the issue you're experiencing.