When loading my application I get the WSOD, opening the console shows an error for two JS files:
uncaught SyntaxError: Unexpected token < vendor.js
uncaught SyntaxError: Unexpected token < myapp.js
Looking at the contents of the files vendor.js and myapp.js in Chromes devtools, their contents are the contents of the dist/index.html
file, so they're not the actual javascript files (i.e. dist/assets/vendor.js
and dist/assets/myapp.js
).
The only way I built the ember application was running the command ember build
, what would the reason be for seeing an html file in devtools, and is that the actual contents of what the browser sees for the JS file?
Aucun commentaire:
Enregistrer un commentaire