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

Cannot read property 'name' of undefined #3

Closed
timohermans opened this issue Mar 25, 2015 · 4 comments
Closed

Cannot read property 'name' of undefined #3

timohermans opened this issue Mar 25, 2015 · 4 comments

Comments

@timohermans
Copy link

When trying to execute the command

ember install:addon ember-infinity

I get the following message:

Cannot read property 'name' of undefined
TypeError: Cannot read property 'name' of undefined
at D:\projects\projectTest\brighter-ember\node_modules\ember-cli\lib\models\project.js:459:53
at find (D:\projects\projectTest\brighter-ember\node_modules\ember-cli\node_modules\lodash-node\modern\collections\find.js:64:11)
at Project.findAddonByName (D:\projects\projectTest\brighter-ember\node_modules\ember-cli\lib\models\project.js:458:20)
at Class.module.exports.Task.extend.findDefaultBlueprintName (D:\projects\projectTest\brighter-ember\node_modules\ember-cli\lib\tasks\addon-install.js:63:30)
at Class.module.exports.Task.extend.installBlueprint (D:\projects\projectTest
brighter-ember\node_modules\ember-cli\lib\tasks\addon-install.js:52:30)
at Class. (D:\projects\projectTest\brighter-ember\node_modules\ember-cli\lib\tasks\addon-install.js:42:19)
at lib$rsvp$$internal$$tryCatch (D:\projects\projectTest\brighter-ember\node_modules\ember-cli\node_modules\rsvp\dist\rsvp.js:489:16)
at lib$rsvp$$internal$$invokeCallback (D:\projects\projectTest\brighter-ember\node_modules\ember-cli\node_modules\rsvp\dist\rsvp.js:501:17)
at lib$rsvp$$internal$$publish (D:\projects\projectTest\brighter-ember\node_modules\ember-cli\node_modules\rsvp\dist\rsvp.js:472:11)
at lib$rsvp$asap$$flush (D:\projects\projectTest\brighter-ember\node_modules\ember-cli\node_modules\rsvp\dist\rsvp.js:1290:9)

Thus I cannot install the addon

@hhff
Copy link
Collaborator

hhff commented Mar 25, 2015

Weird! I just created a fresh Ember app and installed it fine.

What version of Ember CLI are you on?

@timohermans
Copy link
Author

ow damn. I haven't tried on a fresh install. I'm on Ember server 0.2.1. I'll try it on a fresh one too tomorrow

@timohermans
Copy link
Author

@hhff I've tried to add the addon on a fresh install. Everything works as intended.

@hhff
Copy link
Collaborator

hhff commented Mar 26, 2015

Awesome!

mansona pushed a commit that referenced this issue May 15, 2024
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

2 participants