Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not compatible with Ember Data 5.x #175

Open
barryofguilder opened this issue Aug 5, 2023 · 2 comments
Open

Not compatible with Ember Data 5.x #175

barryofguilder opened this issue Aug 5, 2023 · 2 comments

Comments

@barryofguilder
Copy link

When I upgrade my application to Ember/Ember Data 5, I get the following error when I run:

ReferenceError: AbortController is not defined
    at RequestManager.request (webpack://barryofguilder-blog/../rewritten-packages/@ember-data/request.f79f3bc6/index.js?:722:50)
    at Store.request (webpack://barryofguilder-blog/../rewritten-packages/@ember-data/store.415024ce/-private.js?:3872:40)
    at Store.findAll (webpack://barryofguilder-blog/../rewritten-packages/@ember-data/store.415024ce/-private.js?:4999:26)
    at Class.model (webpack://barryofguilder-blog/../rewritten-packages/empress-blog.5ab5e227/routes/application.js?:19:27)
    at Class.deserialize (/var/folders/ym/q109kwld14xgkvfd2bkpwsr80000gn/T/broccoli-31252O6dgVwI90w1P/out-1187-packager_runner_embroider_webpack/assets/@ember/routing/route.js:589:1)
    at UnresolvedRouteInfoByParam.getModel (/var/folders/ym/q109kwld14xgkvfd2bkpwsr80000gn/T/broccoli-31252O6dgVwI90w1P/out-1187-packager_runner_embroider_webpack/assets/router_js.js:772:1)
    at /var/folders/ym/q109kwld14xgkvfd2bkpwsr80000gn/T/broccoli-31252O6dgVwI90w1P/out-1187-packager_runner_embroider_webpack/assets/router_js.js:606:1
    at invokeCallback (/var/folders/ym/q109kwld14xgkvfd2bkpwsr80000gn/T/broccoli-31252O6dgVwI90w1P/out-1187-packager_runner_embroider_webpack/assets/rsvp.js:435:1)
    at publish (/var/folders/ym/q109kwld14xgkvfd2bkpwsr80000gn/T/broccoli-31252O6dgVwI90w1P/out-1187-packager_runner_embroider_webpack/assets/rsvp.js:421:1)
    at invokeWithOnError (/var/folders/ym/q109kwld14xgkvfd2bkpwsr80000gn/T/broccoli-31252O6dgVwI90w1P/out-1187-packager_runner_embroider_webpack/assets/backburner.js.js:282:1)
    at Queue.flush (/var/folders/ym/q109kwld14xgkvfd2bkpwsr80000gn/T/broccoli-31252O6dgVwI90w1P/out-1187-packager_runner_embroider_webpack/assets/backburner.js.js:188:1)
    at DeferredActionQueues.flush (/var/folders/ym/q109kwld14xgkvfd2bkpwsr80000gn/T/broccoli-31252O6dgVwI90w1P/out-1187-packager_runner_embroider_webpack/assets/backburner.js.js:344:1)
    at Backburner._end (/var/folders/ym/q109kwld14xgkvfd2bkpwsr80000gn/T/broccoli-31252O6dgVwI90w1P/out-1187-packager_runner_embroider_webpack/assets/backburner.js.js:773:1)
    at Backburner._boundAutorunEnd (/var/folders/ym/q109kwld14xgkvfd2bkpwsr80000gn/T/broccoli-31252O6dgVwI90w1P/out-1187-packager_runner_embroider_webpack/assets/backburner.js.js:509:1)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
@barryofguilder
Copy link
Author

Need a file like this: https://github.com/universal-ember/ember-primitives/pull/55/files#diff-84b6173e0fc89bf6abeafcc67e3a52c7e5e95699f0d999f34014e872dff63bcbR1

Are you saying that my app that is using empress-blog needs this file or that the empress-blog addon needs this file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants