Could not find module `@ember/application/deprecations` on Ember 4.1.1
See original GitHub issueAfter adding fastboot to my project I get the following error in my JS console:
Uncaught Error: Could not find module
@ember/application/deprecationsimported from
ember-cli-fastboot/services/fastboot at vendor-a63d82f2b38476b3b648450a5c71b1d4.js:13:31 at c (vendor-a63d82f2b38476b3b648450a5c71b1d4.js:13:96) at a.findDeps (vendor-a63d82f2b38476b3b648450a5c71b1d4.js:25:158) at c (vendor-a63d82f2b38476b3b648450a5c71b1d4.js:13:152) at a.findDeps (vendor-a63d82f2b38476b3b648450a5c71b1d4.js:25:158) at c (vendor-a63d82f2b38476b3b648450a5c71b1d4.js:13:152) at requireModule (vendor-a63d82f2b38476b3b648450a5c71b1d4.js:7:60) at s.get (vendor-a63d82f2b38476b3b648450a5c71b1d4.js:6461:153) at e._extractDefaultExport (vendor-a63d82f2b38476b3b648450a5c71b1d4.js:6501:128) at e.resolveOther (vendor-a63d82f2b38476b3b648450a5c71b1d4.js:6463:18)
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top GitHub Comments
It seems ember-cli-fastboot v2 isn’t compatible with Ember 4+. This import path was deprecated and removed in Ember 4 which is the error message you see here.
I would try using the v3 beta of ember-cli-fastboot which seems to be tested against Ember 4.
@byteg You can just modify the version in you package.json file, but v3 has since been officially released so you can just update to that version instead. I think that should also be the new default if you run
ember install ember-cli-fastboot
.