ember-admin icon indicating copy to clipboard operation
ember-admin copied to clipboard

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

Open rickyhurtado opened this issue 8 years ago • 2 comments

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);
});

rickyhurtado avatar Sep 04 '16 02:09 rickyhurtado

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

bcardarella avatar Sep 04 '16 08:09 bcardarella

@rickyhurtado any luck?

bcardarella avatar Sep 14 '16 03:09 bcardarella