Duplicated files generated from amplify env pull --restore
See original GitHub issueIssue/question
I am setting up an amplify project. I cloned a existing git repo first.
And I ran amplify configure
within my project folder and created a new IAM user on aws.
After that, I ran amplify init
and select a existing environment that have been created by my colleagues to initialize my amplify project.
The problem is when I ran amplify env pull --restore
, there will be duplicated files generated in several minutes. For a file named "file.json’, the file with duplicated content will be “files 2.json”. Always have a number like 2 or 3 appending at the end of the previous filename.
Additional information OS: macOS Mojave node version: 12.16.1 aws-amplify: ^1.1.36
I found a similar issues here but is not exactly same to my situation: https://github.com/aws-amplify/amplify-cli/issues/3153
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:19 (9 by maintainers)
The reason for this issue is not because of Amplify CLI I think. It is because I iCloud sync was enabled on my laptop. details see incloud sync creating duplicate files when saving. After I disabled it, this issue is gone @brandonking7 @jhockett
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.