-
Notifications
You must be signed in to change notification settings - Fork 821
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
Invalid syntax error during installation #1781
Comments
Please refer to this issue which has an explaination to this - #783 |
Thanks Ghosh!
alejandroflores
…______________________________
E: alejandro.x.flores@gmail.com
On Jul 5, 2019, at 17:17, Kaustav Ghosh ***@***.***> wrote:
Please refer to this issue which has an explaination to this - #783
This is tied to a specific version of node + fsevents installed globally in your system and in no ways does it affect the installation and usage of the CLI.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
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 |
Describe the bug
When running the
sudo npm install -g @aws-amplify/cli
there is an error from gyp package that saysgyp ERR! configure error gyp ERR! stack Error: Command failed: /anaconda3/bin/python -c import sys; print "%s.%s.%s" % sys.version_info[:3]; gyp ERR! stack File "<string>", line 1 gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3]; gyp ERR! stack ^ gyp ERR! stack SyntaxError: invalid syntax gyp ERR! stack gyp ERR! stack at ChildProcess.exithandler (child_process.js:294:12) gyp ERR! stack at ChildProcess.emit (events.js:189:13) gyp ERR! stack at maybeClose (internal/child_process.js:970:16) gyp ERR! stack at Socket.stream.socket.on (internal/child_process.js:389:11) gyp ERR! stack at Socket.emit (events.js:189:13) gyp ERR! stack at Pipe._handle.close (net.js:597:12) gyp ERR! System Darwin 16.7.0
But the installation finishes correctly and the CLI is working
To Reproduce
Steps to reproduce the behavior:
Node version: 10.15.3
NPM version: 6.10.0
run command
sudo npm install -g @aws-amplify/cli
Expected behavior
Run without errors, probably some warning, but no errors
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: