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.

Incompatible with embroider

See original GitHub issue

We’re starting to test our Ember projects against the embroider build system at https://github.com/embroider-build/embroider, and we’re currently unable to build.

Are there a known set of remedies this project needs, to support embroider builds?

The specific issue we’re hitting relates to ember-component-css’s pod-styles file.

Build Error (OneShot)

/var/folders/kj/m25gsmy53134qzh_6w2jmjq40000gn/T/broccoli-136603YXK5PprOZui/out-07-funnel/addon.scss:1:2: Error: File to import not found or unreadable: pod-styles.
        on line 1 of ../../../../var/folders/kj/m25gsmy53134qzh_6w2jmjq40000gn/T/broccoli-136603YXK5PprOZui/out-07-funnel/addon.scss
>> @import "pod-styles";

   ^

        at SassCompiler

The particulars of our current setup are:

  • pods folder structure
  • Ember 3.12 LTS, soon moving to Ember 3.16 LTS
  • a mix of PostCSS and SASS, moving to PostCSS
  • an Ember pods PostCSS app that depends on an Ember pods SASS addon

This issue intends to start an Embroider-specific conversation around this particular build issue, as I may have time to contribute some fixes to get this project working.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
webarkcommented, Jun 9, 2021

@boris-petrov not production ready yet probably. it’s been almost a year since i have worked on it. I haven’t ran it through embroider yet, but the principal of how it works is sound in theory. The big difference is that you are importing directly the namespace during build time, rather then having it be interpreted at runtime. This was the change that was needed for it to be more “future proof”. If you wanted to help vet it, and iterate on some of the issues that come up, i could assist. it’s much simpler in its premise, so the theory is it would be easier for people to assist. I just moved to the devops side, and the company i work for switched to react (😢) so I haven’t had the time, and personal life has been filled up so haven’t had time to work on it.

0reactions
boris-petrovcommented, Jun 9, 2021

@webark - does that mean that we should migrate from ember-component-css to ember-cli-styles? Is it production ready? What are the changes compared to ember-component-css? Thanks for working on that!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Incompatibility with Embroider · Issue #46 - GitHub
I've been checking compatibility with Embroider and various Addons in the community and I came across that this addon is incompatible.
Read more >
Developers - `PowerCalendar` incompatible with Embroider ...
I've been experimenting with Embroider and various addons and it appears that ember-power-calendar is incompatible with an Embroider "optimized" app, i.e. an ...
Read more >
Fix: Files Not Showing Up On Embroidery Machine - YouTube
Here, you'll find few reasons why an embroidery machines fail to ... To Correct Folder 03:56 - Incompatible Thumb Drive 04:39 - Incorrect ......
Read more >
DESLOADR.exe is incompatible for Bernina Embroidery ...
I am trying to run the Bernina Embroider Software V6 program and after I run the compatibility mode I get an error: DESLOADR...
Read more >
Fastboot and embroider build failures - Build Issues - Ember.JS
I just added Embroider and now I am getting the following build error whenever I serve: Error: An incompatible version between 'ember-cli-fastboot' and ......
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