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.

Production embroider build – empty Components tab

See original GitHub issue

Describe the bug

When inspecting a production app built with embroider the Components tab is empty.

To Reproduce

Minimal reproduction repo here

  • git clone git@github.com:gilest/embroider-component-inspector-repro.git
  • yarn
  • ember s -e production
  • Open ember inspector, visit Components tab
  • <Example /> component is visible ✅
  • Kill server
  • git checkout embroider
  • yarn
  • ember s -e production
  • Open ember inspector, visit Components tab
  • Components tab is empty ❌

Expected behavior

<Example /> component should be inspectable from the Components tab.

Screenshots

Branch: master Screen Shot 2022-08-31 at 10 49 23 AM

Branch: embroider Screen Shot 2022-08-31 at 10 50 51 AM

Environment

MacOS 12.5 Chrome 105.0.5195.52

Reproduced on latest ember-cli blueprint

ember-cli@~4.6.0 ember-source@~4.6.0

Additional context

May be related to #1745 (although that issue can maybe be closed now as the reported outright crash does not occur).

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:18 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
patricklxcommented, Oct 2, 2022

the pr is merged and this can be closed. Although it’s not released yet

1reaction
gilestcommented, Sep 1, 2022

Can confirm that setting EmberENV._DEBUG_RENDER_TREE = true this fixes the issue in the minimal reproduction app.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Inspector crashes with Embroider built application #1745
Open the inspector; it says the application was not found. The console logs exceptions not caught ( Uncaught TypeError: run is undefined )....
Read more >
Blank Snap Tab in the Hoop Embroidery Template. Key Fob
This in the hoop snap tab design is for machine embroidery. It is a digital file for you to DIY your own embroidered...
Read more >
How to exclude a component in ember build
You have multiple options: Don't exclude files or code, but disable with ember-feature-flags addon.
Read more >
The Most Essential Embroidery Tools and Materials
Our ultimate guide to embroidery supplies covers all—from needles to floss, hoops and aida cloth—to help perfect your embroidery and ...
Read more >
PREMIER+ 2 Embroidery User Guide
Create complex fonts, or modify fonts produced in PREMIER+™ 2 QuickFont. ... Like all Windows® programs, some parts of PREMIER+™ 2 Embroidery use...
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