ember-inspector icon indicating copy to clipboard operation
ember-inspector copied to clipboard

Inspector crashes with Embroider built application

Open andsmedeiros opened this issue 4 years ago • 2 comments

Describe the bug Stock install from ember new test-app --embroider makes the inspector crash internally

To Reproduce

  • Create a new application and serve it
  • Open the inspector; it says the application was not found. The console logs exceptions not caught (Uncaught TypeError: run is undefined).

Expected behavior The inspector should correctly load

Environment ember -v:

ember-cli: 3.28.1 node: 14.17.3 os: linux x64

uname -a:

Linux excelsior 5.11.0-37-generic #41-Ubuntu SMP Mon Sep 20 16:39:20 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Firefox 93.0

Additional context With broccoli the inspector works ok, but logs lots of deprecations. Logs of a fresh install for both build systems are included:

ember-inspector-broccoli.txt ember-inspector-embroider.txt

andsmedeiros avatar Oct 13 '21 21:10 andsmedeiros

Just ran across this, a rough workaround I've found for Chrome has been

  • close dev tools
  • reload page
  • open dev tools
  • switch to Ember dev tools and they should be working

rahulk94 avatar Dec 07 '21 01:12 rahulk94

@ef4 @chancancode do we need to do anything special to support embroider?

RobbieTheWagner avatar Dec 27 '21 03:12 RobbieTheWagner