Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapter cannot deploy index file #28

Open
quantumlicht opened this issue Jul 12, 2015 · 10 comments
Open

Adapter cannot deploy index file #28

quantumlicht opened this issue Jul 12, 2015 · 10 comments

Comments

@quantumlicht
Copy link

Here's an exerpt from the logs when running ember deploy --environment production C:\Users\Quantik\git\whatsyourimpact\impact-frontend>ember deploy --environment production
DEPRECATION: ember-cli/lib/errors/silent.js is deprecated, use silent-error instead.
DEPRECATION: ember-cli/lib/errors/silent.js is deprecated, use silent-error instead.
DEPRECATION: ember-cli/lib/errors/silent.js is deprecated, use silent-error instead.
DEPRECATION: ember-cli/lib/errors/silent.js is deprecated, use silent-error instead.
DEPRECATION: ember-cli/lib/errors/silent.js is deprecated, use silent-error instead.
DEPRECATION: ember-cli/lib/errors/silent.js is deprecated, use silent-error instead.
DEPRECATION: ember-cli/lib/errors/silent.js is deprecated, use silent-error instead.
Future versions of Ember CLI will not support v0.10.32. Please update to Node 0.12 or io.js
version: 1.13.1
Built project successfully. Stored in "dist/".
Uploading assets...
Assets upload successful. Done uploading.

Uploading dist/index.html...

You tried to use an unknown adapter: undefined. Please pass a supported adapter-type.

Here's an exerpt from my deploy.js file:

...
production: {
store: {
type: "S3",
accessKeyId: "KEY",
secretAccessKey: "SECRET",
bucket: "BUCKET",
acl: 'public-read', //optional, e.g. 'public-read', if ACL is not configured, it is not sent
hostName: "BUCKET.s3-website-us-west-2.amazonaws.com", // To be set with 'direct' indexMode
indexMode: 'direct',
prefix: ""
},
assets: {
type: "s3",
accessKeyId: 'KEY',
secretAccessKey: 'SECRET',
bucket: 'BUCKET'
}
}

Am I doing something wrong? It's my first time using it, so I can't say if it's related to a specific version of ember-cli

here are my versions:
version: 1.13.1
node: 0.10.32
npm: 2.12.1

@quiddle
Copy link
Contributor

quiddle commented Jul 13, 2015

Ember-cli 1.13 dropped the internal silent error, so it needs to be included. I just put up a pull request for this: #29

@quantumlicht
Copy link
Author

Not sure my issue relates to that though. But I agree it's good to remove the warning.

@quiddle
Copy link
Contributor

quiddle commented Jul 13, 2015

I had a similar error occur before, which, in turn, caused the adapter not to be defined, which might be the problem you're running into. It may be totally unrelated to your error, which I don't have any specific advice on… sorry!

@TNAJanssen
Copy link

I have the same error, with ember-cli-deploy-redis! How to fix this because i can't deploy right now!

@TNAJanssen
Copy link

Built project successfully. Stored in "tmp/deploy-dist/".

Uploading tmp/deploy-dist/index.html...

You tried to use an unknown adapter: undefined. Please pass a supported adapter-type.

@dougct
Copy link

dougct commented Sep 15, 2015

Same problem here. It would be great to have some insight on how to solve this.

@danielbm
Copy link

Same problem here!

@LevelbossMike
Copy link
Contributor

did this start to occur recently and worked in the past? no changes to deploy.js?

@quantumlicht
Copy link
Author

@LevelbossMike, unfortunately I can't answer this. I only started using the project in July so I can't confirm there were breaking changes.

@lordkada
Copy link

maybe trivial... but are you sure you installed 'ember-deploy-s3-index' (npm install ember-deploy-s3-index --save-dev)? Previously I had the same error...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants