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

Uncaught Error: Could not find module ember-admin/router #77

Open
rickyhurtado opened this issue Sep 4, 2016 · 2 comments
Open

Uncaught Error: Could not find module ember-admin/router #77

rickyhurtado opened this issue Sep 4, 2016 · 2 comments

Comments

@rickyhurtado
Copy link

rickyhurtado commented Sep 4, 2016

Followed the following steps but encountered an error. It looks like the router.js is missing.

Install

npm install ember-admin --save-dev

Usage

Add the admin routes to your router.js

import adminRouter from 'ember-admin/router';

Router.map(function() {
  adminRouter(this);
});
@bcardarella
Copy link
Member

Can you try moving to dependencies instead of devDependencies in your package.json?

@bcardarella
Copy link
Member

@rickyhurtado any luck?

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