mnutt / davros

Personal file storage server
Apache License 2.0
298 stars 35 forks source link

Javascript errors running in vagrant-spk dev #47

Closed timbertson closed 8 years ago

timbertson commented 8 years ago

Aside from a few teething problems setting up the development environment (#46), I'm getting console errors now that the davros UI is running:

screenshot from 2016-04-28 21-24-14

(the UI itself is just a blank screen)

Any ideas?

timbertson commented 8 years ago

I worked around the jquery issue by pinning jquery to 1.11.3 (a better solution would be upgrading ember, since this is fixed in https://github.com/emberjs/ember.js/pull/12793 - but that sounds like more work ;))

Now I'm getting:

vendor.js:180 Uncaught Error: Could not find module `ember/load-initializers` imported from `davros/app`

ember-load-initializers version 0.1.7 was installed by bower and resides in bower_components. The module definition doesn't appear in assets/vendor.js after an ember build though.

mnutt commented 8 years ago

It looks like some dependencies I didn't have pinned ended up being upgraded and breaking things. I went ahead and upgraded the app to ember 2.5, hopefully it should fix the errors you're seeing. (you may need to remove bower_components/* and node_modules/* and then npm install and bower install)

timbertson commented 8 years ago

Great, thanks - it's all working locally for me now :)