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.

Ember build fails if a new project has @embroider/macros and fabric.js installed

See original GitHub issue

If 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:open
  • Created 3 years ago
  • Reactions:2
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
clokecommented, Mar 24, 2021

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

0reactions
AndreJoaquimcommented, Mar 18, 2021

@ef4 Yes, in my case it happens every time I boot up the application

Read more comments on GitHub >

github_iconTop 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 >

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