Ember Cli 0.2.7 initializers Loader Uncaught Error: Could not find module

Hi, I recently upgraded to the latest version of Ember-Cli and encountered a problem when, if I try to load a page (by going to the URL after entering the ember server command), it will not load the page, error:

Unused error: could not find the torii/redirect-handler module imported from ui/initializers/initialize-torii-callback

If I remove the torus configuration from the .js environment. This error does not occur.

Something has changed in ember cli, where should I explicitly define the initializers, and not configure them in the environment.js file?

I provided partial bower / package.json and environment.js to illustrate the point

 $ ember version version: 0.2.7 node: 0.12.6 npm: 2.11.0 

Bower.json

 { "name": "ui", "dependencies": { "ember": "1.12.0", "ember-cli-shims": "ember-cli/ember-cli-shims#0.0.3", "ember-cli-test-loader": "rwjblue/ember-cli-test-loader#0.1.3", "ember-data": "1.0.0-beta.18", "ember-load-initializers": "ember-cli/ember-load-initializers#0.1.4", "ember-qunit": "0.3.3", "ember-qunit-notifications": "0.0.7", "ember-resolver": "~0.1.15", "jquery": "^1.11.1", "loader.js": "ember-cli/loader.js#3.2.0", "qunit": "~1.17.1", 

package.json

 { "name": "ui", "version": "0.0.0", "description": "Small description for ui goes here", "private": true, "directories": { "doc": "doc", "test": "tests" }, "scripts": { "start": "ember server", "build": "ember build", "test": "ember test" }, "repository": "", "engines": { "node": ">= 0.10.0" }, "author": "", "license": "MIT", "devDependencies": { "bower": "^1.3.12", "broccoli-asset-rev": "^2.0.2", "broccoli-funnel": "^0.2.3", "broccoli-merge-trees": "^0.2.1", "ember-cli": "0.2.7", "ember-cli-app-version": "0.3.3", "ember-cli-babel": "^5.0.0", "ember-cli-content-security-policy": "0.4.0", "ember-cli-cookie": "^0.1.0", "ember-cli-dependency-checker": "^1.0.0", "ember-cli-htmlbars": "0.7.6", "ember-cli-ic-ajax": "0.1.1", "ember-cli-inject-live-reload": "^1.3.0", "ember-cli-less": "^1.1.1", "ember-cli-pusher": "0.1.2", "ember-cli-qunit": "0.3.13", "ember-cli-simple-auth": "^0.7.3", "ember-cli-simple-auth-oauth2": "^0.7.2", "ember-cli-simple-auth-torii": "^0.8.0-beta.1", "ember-cli-tooltipster": "0.0.6", "ember-cli-uglify": "^1.0.1", "ember-data": "1.0.0-beta.18", "ember-disable-proxy-controllers": "^1.0.0", "ember-export-application-global": "^1.0.2", "ember-idx-button": "^0.1.3", "ember-idx-forms": "^0.5.1", "ember-mousetrap": "0.2.0", "ember-template-compiler": "^1.9.0-alpha", "express": "^4.8.5", "glob": "^4.0.5", "torii": "^0.3.3" } } 

environment.js

 module.exports = function(environment) { var ENV = { torii: { providers: { 'facebook-connect': { appId: '**********', scope: 'public_profile,email,user_friends' }, }, 
0
ember-cli
source share

No one has answered this question yet.

See similar questions:

4
Ember JS Please download `ember-template-compiler.js` before calling` compile`

or similar:

6
Unused error: could not find module `ember-qunit`. Ember-cli odd box behavior
4
Could not find module `ember-cli / test-loader`
4
Create Hadron Click Without Dependencies
3
Ember CLI - Uncaught Error: Could not find ember module?
3
Ember CLI: Heroku build not working
2
Using ember-simple-auth and torii, modals never close, and the session never refreshes despite a successful server response
2
Ember-Simple-Auth and Torii
one
Ember-velocity mixin with Ember 1.10.0-beta.2 + pre.4bf76fc6: error: you have to set speed.js before using it
0
Ember JS application loaded by default on page loading
0
node cannot start ember-cli on ubuntu 12.04

All Articles