Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm install -g @aws-amplify/cli fails with errors #33

Closed
rlopmar opened this issue Aug 27, 2018 · 3 comments
Closed

npm install -g @aws-amplify/cli fails with errors #33

rlopmar opened this issue Aug 27, 2018 · 3 comments

Comments

@rlopmar
Copy link

rlopmar commented Aug 27, 2018

Do you want to request a feature or report a bug?
BUG

What is the current behavior?
When installing AWS Amplify CLI, it fails logging the following errors and warnings

npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated socks@1.1.10: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0
npm WARN deprecated istanbul-lib-hook@1.2.1: 1.2.0 should have been a major version bump
npm ERR! path C:\Users\rafae\AppData\Roaming\npm\node_modules@aws-amplify\cli\node_modules\npm\node_modules\ansistyles
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename 'C:\Users\rafae\AppData\Roaming\npm\node_modules@aws-amplify\cli\node_modules\npm\node_modules\ansistyles' -> 'C:\Users\rafae\AppData\Roaming\npm\node_modules@aws-amplify\cli\node_modules\npm\node_modules.ansistyles.DELETE'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\rafae\AppData\Roaming\npm-cache_logs\2018-08-27T10_51_24_414Z-debug.log

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
run the command > npm install -g @aws-amplify/cli

What is the expected behavior?
install the Amplify CLI with no errors

Which versions of Amplify CLI, and which OS are affected by this issue? Did this work in previous versions?
Trying to install the latest version available in npm, using Windows10

@rlopmar
Copy link
Author

rlopmar commented Aug 27, 2018

Fixed uninstalling and installing again. I guess it was about old incompatible modules

@RoniqueRicketts
Copy link

I have this issue right now, I uninstalled the CLI and reinstalled it same issue.

@github-actions
Copy link

This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.

Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels for those types of questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants