Ember build fails if a new project has @embroider/macros and fabric.js installed
See original GitHub issueIf the latest @embroider/macros and fabric.js are installed in a new Ember project then running ember build
fails with this error.
Build Error (broccoli-persistent-filter:Babel > [Babel: @embroider/macros]) in @embroider/macros/runtime.js
Module did not self-register: '/Users/jacob/dev/tmp/embroider-fabric-bug/node_modules/canvas/build/Release/canvas.node'.
If @embroider/macros is removed then builds work again. I ran into this issue while trying to upgrade ember-bootstrap.
A replication is available here.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Fastboot and embroider build failures - Build Issues
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 >Windows 7/10 - Build fails just after enabling embroider on ...
So I have updated the file ember-cli-build.js and run ember build. ... Similar error on brand new Ember CLI 3.90 project on windows...
Read more >What is correct way to integrate Ember.js with canvas ...
1 Answer 1 · You can init the Fabric canvas element in the controller. · You can put canvas drawing code in the...
Read more >4.xml
... /package/npm/@elenaizaguirre/cactus-plugin-ledger-connector-fabric monthly ... https://www.jsdelivr.com/package/npm/@ember-cli-deploy/plugin-blueprint ...
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
@ef4 I get this 100% of the time if I update ember past 3.20 (although it doesn’t seem to be specific to upgrading ember, trying to update font awesome while on 3.20 triggers the same issue). I’m happy to provide any logs if it helps. I posted this in discord as well and can be contacted via Cloke there.
@ef4 Yes, in my case it happens every time I boot up the application