So I have been spending the day upgrading our project from version 2.16.2. I made it all the way to 3.3 and then jumped to 3.6. But when it would build and our sandbox would load, the app itself loads in the iFrame but never reaches the route.
I see two errors in the console:
VM737 vendor.js:22239 Uncaught TypeError: url.indexOf is not a function at jQuery.fn.init.jQuery.fn.load (VM737 vendor.js:22239) at VM737 vendor.js:93746 at VM737 vendor.js:93746
VM737 vendor.js:252 Uncaught Error: Could not find module
ember-load-initializers imported from
at missingModule (VM737 vendor.js:252)
at findModule (VM737 vendor.js:263)
at Module.findDeps (VM737 vendor.js:173)
at findModule (VM737 vendor.js:267)
at requireModule (VM737 vendor.js:29)
at VM738 psst.js:51134
I am not the original author and I know that we did a lot of shoe horning around problems in Ember even earlier than 2.16 when it was written. Is this a know issue with a work around? I deleted all the old tmp directories (including dist), removed node_modules, and reinstalled everything. We never used bower components so that was not an issue.
This happened as well when I tried to go from 2.16.2 straight to 3.17.0 but the second error was ember resolver instead of the initializer. But the jQuery error was still there.
This was just a project to convince work we could upgrade to get some of the newer fixes and functionality. Our app is stable at its current version and at 3.3 but if possible I would like to finish up. We have another more important and larger application that will follow suit in upgrading so this will help that team as well.