question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Re-Exporting from In-Repo-Engine

See original GitHub issue

Hey, I have a project which uses ember-paper and therefore has it imported correctly. I’ve then generated an in-repo-engine for my admin panel (using ember g in-repo-engine admin).

The content of the lib/admin/index.js is the following:

var EngineAddon = require('ember-engines/lib/engine-addon');

module.exports = EngineAddon.extend({
  name: 'admin',

  isDevelopingAddon: function() {
    return true;
  }
});

As stated in the guide (http://ember-engines.com/guide/sharing-components-and-more) this should be sufficent to re-export all addons used by the project/owner. Though I get an A component or helper named "paper-button" could not be found error everytime I want to use one of the ember components in the engine.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:20 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
John0xcommented, Jan 14, 2017

@trentmwillis but in other issues it is stated, that only the projects/owner package.json need to have the dependencies listed?

See: https://github.com/ember-cli/ember-cli/issues/4164 “If a given dep exists in the project’s package.json they are available in the in repo addon (regardless of if the in-repo-addon’s package.json lists the dep).”

0reactions
rmachielsecommented, Apr 17, 2017

@nickschot we’re moving away from bower the same way that ember-paper did, so I guess semantic-ui-ember should do the same

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to import all the components and utils in an in-repo- ...
As far i have seen i need to re-export that component by creating all ... How to import all the components and utils...
Read more >
Reexports and Offshore Transactions
Guidance on Reexports/Transfers (in-country) of U.S.-Origin Items or Non-U.S.-made Items Subject to the Export Administration Regulations ...
Read more >
buschtoens/ember-engines - npm package
Route-less engines, which can be rendered in a template using the {{mount}} keyword. Sharing of dependencies from parents (applications or other engines) to ......
Read more >
Enginification | Mainmatter - Simplabs
add re-export of the addons' component so it is added to the app ... After that, setting up the in-repo engine according to...
Read more >
Rancher UI
When adding new components to an engine ensure you are only re-exporting the ... of shared components for use with both the main...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found