amplify add storage: folder and files not created
See original GitHub issue** Which Category is your question related to? ** amplify add storage
** Provide additional details e.g. code snippets ** While attempting to add Storage and then doing amplify push - it failed and performed a rollback. I fixed a few a things, and went to try again - and the following happens:
from the CLI
$ amplify add storage
? Please select from one of the below mentioned services Content (Images, audio, video, etc.)
Amazon S3 storage was already added to your project.
$ amplify push
Current Environment: master
| Category | Resource name | Operation | Provider plugin |
| -------- | --------------- | --------- | ----------------- |
| Storage | rocketandart | Create | awscloudformation |
| Api | r0ck3t | Update | awscloudformation |
| Auth | cognito130c7752 | No Change | awscloudformation |
? Are you sure you want to continue? Yes
ENOENT: no such file or directory, scandir '/Users/filtenborg/tjalfe/r0k3t/amplify/backend/storage/rocketandart'
I haven’t touched any files in /amplify/backend/ folders
How do i proceed from here?
- Should i manually remove the relation somewhere?
- Should i manually add it to '/amplify/backend/storage/rocketandart/ ?
- Can i remove storage and then add it again?
Im not sure how to go about this.
Thanks in advance Filtenborg
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
File storage - AWS Amplify Docs
Amplify Studio File Storage provides a simple mechanism for managing user content for your app in public, protected or private storage folders. In...
Read more >AWS amplify adding files in public directory - Stack Overflow
I just want my files to go in key and not create any public folder. is there any option to do that ?...
Read more >How to Setup AWS Amplify Storage to Upload Files Using S3
In this tutorial, I show you step by step how to setup Amplify storage to upload files to a S3 Bucket.AWS Amplify Storage...
Read more >Allowing external users to securely and directly upload files to ...
In the AWS Cloud9 terminal, inside the application directory, type the command: amplify add storage . Select the following parameters:.
Read more >Storage
AWS Mobile CLI helps you to create and configure the storage buckets for ... file aws-exports.js which has been created and replaced into...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Please follow these steps to restore your local amplify directory
npm install -g @aws-amplify/cli@latest
#current-cloud-backend
folder, remove this subfolder if it exists:/Users/filtenborg/tjalfe/r0k3t/amplify/backend/storage/
backend
folder and the#current-cloud-backend
folder, update the amplify-meta.json file by removing the entire ‘storage’ property if it exists.backend
folder and the#current-cloud-backend
folder, update the backend-config.json file by removing the entire ‘storage’ property if it exists.After the above steps.
amplify -v
and tell us what your cli version is.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.