emberjs / ember-inspector

Adds an Ember tab to the browser's Developer Tools that allows you to inspect Ember objects in your application.
MIT License
966 stars 286 forks source link

EmberData v5.3 + inspector data tab issue #2597

Closed Windvis closed 2 months ago

Windvis commented 2 months ago

Describe the bug The data tab of the ember-inspector won't open in newly generated Ember v5 apps. The browser console shows the following error when clicking the tab:

Error message: Could not find module `@embroider/macros` imported from `some-app/data-adapter`
Stack trace: missingModule@http://localhost:4200/assets/vendor.js:266:11

To work around this, you can install @embroider/macros in the app. After this the data tab works as expected again.

I don't think it's an ember-inspector issue, but I'm opening an issue here since it's the first place were I went looking.

To Reproduce Steps to reproduce the behavior:

  1. generate a new ember app
  2. start it
  3. open the ember-inspector dev tools
  4. click the data tab

Expected behavior The data tab works as expected in newly created apps.

Extra info Discord discussion: https://discord.com/channels/480462759797063690/486243207072710656/1282630945383387137

Windvis commented 2 months ago

Closing since it's not an issue with the ember-inspector code itself.