question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Could not find module `@ember/application/deprecations` on Ember 4.1.1

See original GitHub issue

After adding fastboot to my project I get the following error in my JS console:

Uncaught Error: Could not find module @ember/application/deprecationsimported fromember-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:open
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
Windviscommented, Feb 7, 2022

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.

0reactions
Windviscommented, Feb 14, 2022

@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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · ember-fastboot/ember-cli-fastboot
Contribute to ember-fastboot/ember-cli-fastboot development by creating an account ... Could not find module @ember/application/deprecations on Ember 4.1.1.
Read more >
"Could not find module errors" at runtime for some packages
I'm working on a project using Ember 3.27.2 that is included as part of a Chrome extension. When running the application I'm seeing...
Read more >
Ember production build, could not find module . due to ...
I believe module name forward slash causes this issue. I don't have any entry in ember-cli-build.js file. While analyzing this error, I found...
Read more >
Dotenv : cannot find module : r/emberjs
Hello, I'm trying to use dotenv in my client project. I'm doing this in the top of my file: require('dotenv').config(); But I always...
Read more >
danlynn/ember-cli - Docker Image
ember -cli 4.9.2 + node 18.12.1/19.3.0 + bower 1.8.8 + chrome ... changed templates/application.hbs ember_1 | Cannot find module 'broccoli/package' ember_1 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found