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

ember deploy:list - undefined is not a function #127

Closed
EstesE opened this issue Apr 13, 2015 · 4 comments
Closed

ember deploy:list - undefined is not a function #127

EstesE opened this issue Apr 13, 2015 · 4 comments

Comments

@EstesE
Copy link

EstesE commented Apr 13, 2015

I'm using ember-cli version 0.2.3.

'ember deploy:list' gives the following error:

user@linux:~/test-projects/testtoazure/config > ember deploy:list
version: 0.2.3
Could not find watchman, falling back to NodeWatcher for file system events.
Visit http://www.ember-cli.com/#watchman for more info.
undefined is not a function
TypeError: undefined is not a function
    at Class.module.exports.Task.extend.run (/home/eric/test-projects/testtoazure/node_modules/ember-cli-deploy/lib/tasks/list.js:26:19)
    at Class.module.exports.run (/home/eric/test-projects/testtoazure/node_modules/ember-cli-deploy/lib/commands/list.js:19:21)
    at Class.<anonymous> (/home/eric/test-projects/testtoazure/node_modules/ember-cli/lib/models/command.js:136:17)
    at lib$rsvp$$internal$$tryCatch (/home/eric/test-projects/testtoazure/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:489:16)
    at lib$rsvp$$internal$$invokeCallback (/home/eric/test-projects/testtoazure/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:501:17)
    at lib$rsvp$$internal$$publish (/home/eric/test-projects/testtoazure/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:472:11)
    at lib$rsvp$asap$$flush (/home/eric/test-projects/testtoazure/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:1290:9)
    at process._tickCallback (node.js:355:11)
user@linux:~/test-projects/testtoazure/config > 
@LevelbossMike
Copy link
Member

do you have an index-adapter addon installed?

@LevelbossMike
Copy link
Member

actually I ran into this myself right now. This happens when you try to run a command in an environment that is not specified in deploy.js.

I agree that this is annoying and we need to improve the error message in this case. thx for this issue.

@LevelbossMike
Copy link
Member

closing in favor of LevelbossMike/ember-deploy-redis#8

@leojh
Copy link
Contributor

leojh commented Jun 11, 2015

I had to install "ember-deploy-s3-index" to get over this issue

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

3 participants