adminjs icon indicating copy to clipboard operation
adminjs copied to clipboard

store:main error

Open mattmcginnis opened this issue 11 years ago • 6 comments

I get this error when trying to load the page.

Uncaught TypeError: Attempting to register an unknown factory: `store:main` 

I've included jquery, handlebars, ember, epf and adminjs (though the example doesn't include jquery and handlebars).

Do I need to declare a store?

mattmcginnis avatar Nov 13 '13 19:11 mattmcginnis

what version of ember? also it may be related to: https://github.com/GroupTalent/epf/commit/0a5d4bcb9749c2e20ed5436d6f6ed8cd39beaf06

stefanpenner avatar Nov 13 '13 19:11 stefanpenner

I need to cut a new epf release. @mattmcginnis is there anyway you can try this against epf master?

ghempton avatar Nov 13 '13 19:11 ghempton

I'm using ember 1.1.2. I built the latest version of epf and have a different error now.

Error while loading route: TypeError {}
Uncaught TypeError: Cannot call method 'objectAt' of null 

I'm going to debug that but maybe the ember version is wrong. The version in epf/vendor is v1.0.0-250-g28c38ea. The ember commit (https://github.com/emberjs/ember.js/commit/4e4ec7a66dd40e733a1e033a6e9f988097a96df6) referenced in (https://github.com/GroupTalent/epf/commit/0a5d4bcb9749c2e20ed5436d6f6ed8cd39beaf06) that Stefan mentioned is in ember-1.1.2 I believe.

mattmcginnis avatar Nov 13 '13 20:11 mattmcginnis

@mattmcginnis did you ever find the source of this error? I had the exact same issues, and currently am stuck on the 'objectAt' problem.

torkins avatar Dec 06 '13 01:12 torkins

I will try and update the demo and make sure the latest release of adminjs is compatible with the latest versions of ember/epf etc. over the next few days. Sorry about this.

On Thu, Dec 5, 2013 at 5:14 PM, torkins [email protected] wrote:

@mattmcginnis https://github.com/mattmcginnis did you ever find the source of this error? I had the exact same issues, and currently am stuck on the 'objectAt' problem.

— Reply to this email directly or view it on GitHubhttps://github.com/GroupTalent/adminjs/issues/8#issuecomment-29955527 .

Gordon L. Hempton http://codebrief.com 360.460.8098

ghempton avatar Dec 06 '13 01:12 ghempton

@torkins No, sorry I was just evaluating to create a demo and didn't pursue it further.

mattmcginnis avatar Dec 06 '13 01:12 mattmcginnis