amplify pull results in error: File at path '.../parameters.json' does not exist #13612
Labels
pending-response
Issue is pending response from the issue author
pending-triage
Issue is pending triage
transferred
This issue was transferred from another Amplify project
Describe the bug
I try to run amplify pull, but it results in error:
⠇ Fetching updates to backend environment: staging from the cloud.⠋ Building res✔ Successfully pulled backend environment staging from the cloud.
✖ There was an error initializing your environment.
🛑 File at path: '/Users//amplify/backend/auth//parameters.json' does not exist
And it's correct, because in my
backend
folder I have some kind of numbering going on. Runningls
inbackend
folder:amplify-meta 2.json awscloudformation storage 3
amplify-meta.json awscloudformation 2 tags 2.json
api awscloudformation 3 tags.json
api 3 backend-config 2.json types
auth 3 backend-config.json
As you see I have a lot of 2s and 3s, which I don't really get. I noticed that I have a similar numbering in the
amplify
folder as well:#current-cloud-backend cli 3.json team-provider-info.json
backend cli.json
cli 2.json generated
And in my project folder as well:
Amplify amplify
amplify 2
README.md amplifyconfiguration.json
awsconfiguration.json
.xcodeproj graphql
UnitTests
I honestly don't know how I got here. Seemingly I horribly messed up everything. I tried to change my scheme and I might have done something that should have not been done. Is there a way for recovery?
Steps To Reproduce
Expected behavior
Remote changes are retrieved without any error. Or if there's an error then I should be able to have some recovery options.
Amplify Framework Version
How do find this?
Amplify Categories
API
Dependency manager
Swift PM
Swift version
5.9
CLI version
12.10.1
Xcode version
15.2
Relevant log output
Is this a regression?
No
Regression additional context
No response
Platforms
iOS
OS Version
17.0
Device
iPhone 15 Pro
Specific to simulators
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: