Skip to content

Build error when installed as dependancy in in-repo-addon #39

New issue

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

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

Already on GitHub? # to your account

Closed
Awem opened this issue Jun 16, 2015 · 2 comments
Closed

Build error when installed as dependancy in in-repo-addon #39

Awem opened this issue Jun 16, 2015 · 2 comments

Comments

@Awem
Copy link

Awem commented Jun 16, 2015

There's a build error when installed in an in-repo-addon.
Steps to reproduce:

  1. generate an in-repo-addon
  2. npm install --save ember-browserify in-repo-addon directory
  3. ember server in app's directory

Result:

Error: Path or pattern "browserify/browserify.js" did not match any files

I know, that the install command is supposed to be npm install --save-dev ember-browserify. But, I think it should work nevertheless, because installing as dependancy instead of devDependancy:

  1. works fine in the main app
  2. would be the correct way to define, that the addon depends on ember-browserify installed in the main app`s scope
@asakusuma
Copy link
Collaborator

I believe this is a duplicate of #34

ember-browserify has to be installed in both the parent app and the addon. It's a limitation of ember-cli.

@Awem
Copy link
Author

Awem commented Jun 16, 2015

@asakusuma correct! closing this one.

@Awem Awem closed this as completed Jun 16, 2015
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants