dimanche 6 mars 2016

Ember build for production not building properly

I am building my ember app in production environment and deploying it on my local wamp server(apache server). But when I copy the file and open the app using url, the handlebar template application.hbs or index.hbs is not rendered.

I am building my project using

ember build --environment production  --output-path dist/

But when I open the path 127.0.0.1/path-to-my-project I get following error in console.

Uncaught Error: Could not find module `ember-data/-private\system\references\record` imported from `ember-data/-private/system/references`   
vendor-192d3eef66f0205b64b4acf903f80f63.js:1 

I checked the documentation and sources available online, but couldn't find the cause for this error. Please Help...




Aucun commentaire:

Enregistrer un commentaire