4.5.2 seems to be broken
pomm0 opened this issue · comments
Describe the bug
Ember inspector addon remains white when opening in chrome. In addons console I see this error:
Uncaught Error: Could not find module `element-resize-detector` imported from `ember-inspector/modifiers/did-resize`
To Reproduce
Steps to reproduce the behavior:
- Open ember inspector
Expected behavior
The ember inspector works as usual
Screenshots
(Right console is that from the addon)
Environment
Ember version: 3.20.7
Browser version: Version 95.0.4638.69 (Official Build) (64-bit)
Ember-inspector: 4.5.2
Additional context
Yes. Release has bug
VM1561:9888 Uncaught TypeError: Cannot read properties of undefined (reading 'VERSION')
at :9888:28
at triggerOnce (:9973:7)
at :9984:7
at runLoadHooks (lazy_load.js:75)
at index.js:507
at internalRequire (loader.js:54)
at require (loader.js:87)
at rsvp.js:2493
at rsvp.js:2493
Chrome is up to date
Version 96.0.4664.45 (Official Build) (x86_64)
Ember Inspector version 4.5.2
VM126:9888 Uncaught TypeError: Cannot read properties of undefined (reading 'VERSION')
at <anonymous>:9888:28
at triggerOnce (<anonymous>:9973:7)
at <anonymous>:9984:7
at runLoadHooks (lazy_load.js:75)
at Module.callback (index.js:520)
at Module.exports (loader.js:106)
at requireModule (loader.js:27)
at r (loader.js:176)
at get (index.js:10)
at get (index.js:41)
Is there any way to force the extension to a previous version ?
@drallieiv probably the most straight forward way would be to download the extension source code from the releases page, unpack it, build and install following the guide in README.
Looks like the wrong rootURL.
Chunks are trying to load at /assets
when they should load at <rootURL>assets
for example:
http://localhost:9191/bookmarklet/panes-3-4-0/assets/vendor.js
the <rootURL>
is /bookmarktlet/panes-3-4-0/
which is missing from this request:
http://localhost:9191/assets/chunk.vendors-node_modules_element-resize-detector_src_element-resize-detector_js.c5e270b4903911deab34.js
It should be:
http://localhost:9191/bookmarklet/panes-3-4-0/assets/chunk.vendors-node_modules_element-resize-detector_src_element-resize-detector_js.c5e270b4903911deab34.js