emberjs / emberjs/ember-inspector

Inspector crashes with Embroider built application

Open
#1,745 2 comments 7 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
969
Forks
292
PR merge metrics
No merged PRs in 30d

Description

**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](https://github.com/emberjs/ember-inspector/files/7341605/ember-inspector-broccoli.txt)
[ember-inspector-embroider.txt](https://github.com/emberjs/ember-inspector/files/7341606/ember-inspector-embroider.txt)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.