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

Updating addon gives error in 0.2.1 #3620

Closed
alvincrespo opened this issue Mar 24, 2015 · 0 comments · Fixed by #3622
Closed

Updating addon gives error in 0.2.1 #3620

alvincrespo opened this issue Mar 24, 2015 · 0 comments · Fixed by #3622

Comments

@alvincrespo
Copy link

When running ember init inside an addon the following error is given:

➜  fly-blankslate git:(master) ✗ ember addon init
The package `ember-data` is not a properly formatted package, we have used a fallback lookup to resolve it at `/Users/alvincrespo/workspace/fly-blankslate/node_modules/ember-data`. This is generally caused by an addon not having a `main` entry point (or `index.js`).
version: 0.2.1
You cannot use the addon command inside an ember-cli project.
➜  fly-blankslate git:(master) ✗ clear
➜  fly-blankslate git:(master) ✗ clear
➜  fly-blankslate git:(master) ✗ ember init
The package `ember-data` is not a properly formatted package, we have used a fallback lookup to resolve it at `/Users/alvincrespo/workspace/fly-blankslate/node_modules/ember-data`. This is generally caused by an addon not having a `main` entry point (or `index.js`).
version: 0.2.1
installing
Generating an addon in an existing ember-cli project is not supported.
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

Successfully merging a pull request may close this issue.

1 participant