-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Description
This is more of an FYI incase anyone else experiences this, but it might be an idea to at least update the readme to explain that in addition to the permissions required by ember-cli-deploy-s3 this addon also requires listObject and listBucket.
If you don't add these you'll get this slightly cryptic error:
TypeError: Cannot read property 'length' of undefined
TypeError: Cannot read property 'length' of undefined
at listObjects.then.then.catch.then (/Users/Projects/ember-app/node_modules/ember-cli-deploy-fastboot-app-server-aws/index.js:40:28)
at tryCatch (/Users/Projects/ember-app/node_modules/rsvp/dist/rsvp.js:525:12)
at invokeCallback (/Users/Projects/ember-app/node_modules/rsvp/dist/rsvp.js:538:13)
at publish (/Users/Projects/ember-app/node_modules/rsvp/dist/rsvp.js:508:7)
at flush (/Users/Projects/ember-app/node_modules/rsvp/dist/rsvp.js:2415:5)
at process._tickCallback (internal/process/next_tick.js:150:11)
I guess in an ideal world this error could be caught and a more helpful error reported?
Metadata
Metadata
Assignees
Labels
No labels