razorjack / s3-directory-listing

AWS Lambda + Serverless.js: Reacts on changes in your S3 bucket and auto-generates a nice index.html with directory listing.
24 stars 11 forks source link

s3deploy gives Serverless Error upon initial installation #2

Closed FSStudioGIT closed 4 years ago

FSStudioGIT commented 4 years ago

Hello,

I'm trying to install this into my S3 bucket, and everything seems to have worked (after updating the nodejs version) until I go to run s3deploy, which gives the following output/error:

`~/: serverless s3deploy Serverless: Attaching s3-directory-list-dev-generateListing to BUCKET-NAME s3:ObjectCreated:,s3:ObjectRemoved:...

Serverless Error ---------------------------------------

The resource you requested does not exist.

Get Support -------------------------------------------- Docs: docs.serverless.com Bugs: github.com/serverless/serverless/issues Issues: forum.serverless.com

Your Environment Information --------------------------- Operating System: darwin Node Version: 6.11.3 Framework Version: 1.61.3 Plugin Version: 3.3.0 SDK Version: 2.3.0`

I tried to update files on the bucket and there was no new index.html created, so obviously this isn't functioning currently.,

Any help is greatly appreciated, as I have a tight deadline on something that requires a directory listing, and too many files in my S3 bucket to be easy to just move to a webserver with actual directory listings.

Thanks!

FSStudioGIT commented 4 years ago

I don't actually know what I did differently on a new attempt but I got it to work so closing this