-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Can't install #5643
Comments
Hello - @fireflysemantics Are you installing Amplify for the first time? Could you tell us more about your local environment ? To be safe, can you try installing in a clean directory? |
Hi @mauerbac. I install it all the time, but this is the first time in this project. Here's an example sequence that I just did.
So other NPM dependencies (Stripe in this case) install fine, but with Amplify I get the error you see. |
@fireflysemantics I just tried the same steps you mentioned and didn't get the error. Can you check if you are behind any proxy that might be intercepting the npm responses?
|
@Amplifiyer just to make sure there's nothing else running I rebooted my machine. I still get the same error. |
I set the NPM registry like this:
|
Can you also post the complete NPM log? and your npm/node version |
Got it - Thanks for all the clues. This is the problem:
Should be:
I guess the |
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 |
ole@mkt:~/Temp/aws$ npm i aws-amplify
npm ERR! Unexpected end of JSON input while parsing near '..."^1.0.0-alpha.5","@aw'
npm ERR! A complete log of this run can be found in:
npm ERR! /home/ole/.npm/_logs/2020-05-01T04_01_53_371Z-debug.log
The text was updated successfully, but these errors were encountered: