Fastboot error with Embroider
See original GitHub issueStarted to migrate to Embroider using Prember and Ember-cli-fastboot
ember-cli-fastboot installed with ember install ember-cli-fastboot
prember installed with ember install prember
"@embroider/compat": "^0.19.0",
"@embroider/core": "^0.19.0",
"@embroider/router": "^0.19.0",
"@embroider/webpack": "^0.19.0",
"ember-cli-fastboot": "^2.2.3",
"prember": "^1.0.4",
Receiving this error during development build using ember s
@embroider/webpack (1) | 6626ms
Babel: ember-cli-head (1) | 1264ms
@embroider/compat/app (1) | 783ms
App is being served by FastBoot
Error: An incompatible version between `ember-cli-fastboot` and `fastboot` was found. Please update the version of fastboot library that is compatible with ember-cli-fastboot.[39m[22m
at EmberApp.readPackageJSON (/Users/jrodkey/Projects/@now/ember-marketing/node_modules/fastboot/src/ember-app.js:405:13)
at new EmberApp (/Users/jrodkey/Projects/@now/ember-marketing/node_modules/fastboot/src/ember-app.js:35:23)
at FastBoot._buildEmberApp (/Users/jrodkey/Projects/@now/ember-marketing/node_modules/fastboot/src/index.js:114:17)
at new FastBoot (/Users/jrodkey/Projects/@now/ember-marketing/node_modules/fastboot/src/index.js:52:10)
at app.use (/Users/jrodkey/Projects/@now/ember-marketing/node_modules/ember-cli-fastboot/index.js:335:29)
at Layer.handle [as handle_request] (/Users/jrodkey/Projects/@now/ember-marketing/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/Users/jrodkey/Projects/@now/ember-marketing/node_modules/express/lib/router/index.js:317:13)
at /Users/jrodkey/Projects/@now/ember-marketing/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/Users/jrodkey/Projects/@now/ember-marketing/node_modules/express/lib/router/index.js:335:12)
at next (/Users/jrodkey/Projects/@now/ember-marketing/node_modules/express/lib/router/index.js:275:10)
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Fastboot and embroider build failures - Build Issues - Ember.JS
I've got a new Ember app (3.26) that was running nicely with Fastboot enabled. I just added Embroider and now I am getting...
Read more >@embroider/webpack | Yarn - Package Manager
This repo implements a new three-stage build system for Ember apps: The first stage achieves backward compatibility by building each classic Ember Addon...
Read more >fastboot error no such file - XDA Forums
- Incompatible version of fastboot. - Incompatible image file format or corrupted image file. Newer versions of fastboot should detect the ...
Read more >Developers - Embroider + Fastboot: Build not invoking `app-boot` in ...
Embroider + Fastboot: Build not invoking `app-boot` in contentFor hook. Causing Fastboot app to fail.
Read more >ember-body-class - npm
Easily add CSS classes to the body, including route names and loading/error states.. Latest version: 3.0.0, last published: 4 months ago.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
https://github.com/GavinJoyce/embroider-spike/pull/19 @abhilashlr here is a working example of embroider and fastboot
Thanks for a temporary solution @ef4, and in case someone uses workspaces like me, you got to add this in the workspace package.json’s resolutions key. I kept trying within my ember app and it never worked 😆