You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected globals are not present, such as fetch, HeadersReadableStream etc.
buildSandboxGlobal no longer runs, so there is no way to enhance the built in globals with WHATWG spec implementations of APIs such as AbortController and fetch even when these things exist as globals in node. (this turned out to be a config mishap for ember-cli-fastboot-testing see Config not working embermap/ember-cli-fastboot-testing#488)
fastbootDependencies does not allow whitelisting local dependencies, which prevents applications from addressing this shortcoming short of using pnpm patch to splice in new globals. For instance the following fails to resolve with Fastboot.require
Issues:
fetch,HeadersReadableStreametc.(this turned out to be a config mishap for ember-cli-fastboot-testing see Config not working embermap/ember-cli-fastboot-testing#488)buildSandboxGlobalno longer runs, so there is no way to enhance the built in globals with WHATWG spec implementations of APIs such asAbortControllerandfetcheven when these things exist as globals in node.fastbootDependenciesdoes not allow whitelisting local dependencies, which prevents applications from addressing this shortcoming short of usingpnpm patchto splice in new globals. For instance the following fails to resolve withFastboot.require{ "dependencies": { "fastboot-abort-controller": "file:./fastboot-overrides/abort-controller" }, "fastbootDependencies": [ "fastboot-abort-controller", ] }Example recommended config for use with EmberData and fetch