-
Notifications
You must be signed in to change notification settings - Fork 816
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
Amplify init fails on another machine #1122
Comments
What’s the error that you’re getting? Are the CLI versions the same as what you used at work and what you’re using at home? Would be helpful for us to know the error stack and get more information to root-cause your issue. |
/home/michael/.nvm/versions/node/v8.15.0/lib/node_modules/@aws-amplify/cli/node_modules/gluegun/build/index.js:13 SyntaxError: Unexpected token h in JSON at position 0 |
Are the CLI versions the same as what you used at work and what you’re using at home? |
I'm pretty sure they are. I regularly do a npm upgrade and update every single part of my project, on all sides. I git push at work, git pull at home. But amplify-js never appears to transfer across nicely.
That's my .gitignore, all autogenerated by things I install. |
@michaelcuneo Can you provide the file structure that you have in the system where you're seeing this issue? |
@michaelcuneo Is one of the machine windows? |
No, the other machine is an Intel server running Ubuntu. I use OSX at work, Ubuntu or Docker for my dev at home. |
Released in Amplify CLI 1.6.6. Please re-open the issue if the problem still persist |
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 |
I'm at work right... I type amplify init, I do all my work, later at home, I pull the project from github and want to work on it... so I hit amplify add env, pick the env that I added at work...
It complains, fails to compile, won't do a thing... how am I meant to do this correctly?
** Which Category is your question related to? **
amplify in general...
** What AWS Services are you utilizing? **
amplify-cli
** Provide additional details e.g. code snippets **
The text was updated successfully, but these errors were encountered: