$ember --version
version: 2.3.0
node: 5.6.0
os: darwin x64
ember-cli@2.3.0
I am getting the folowing error when running my ember app.
Uncaught Error: Could not find module `myapp/resolver.js` imported from `myapp/app`
missingModule @ loader.js:164
findModule @ loader.js:179
Module.reify @ loader.js:115
Module.build @ loader.js:133
findModule @ loader.js:181
requireModule @ loader.js:168
(anonymous function) @ app-boot.js:4
/myapp/app/resolver.js
import Resolver from 'ember-resolver';
export default Resolver;
Running ember s
correctly start the server but I am getting the above in the chrome console window.
Any ideas why this might be happening? I updated node recently, could that be the issue?
Please change app/app.js content as
RépondreSupprimerimport Resolver from 'ember-resolver';