manut
(Manuel Tancoigne)
29 Septiembre, 2026 09:47
1
Hola,
En una nueva instancia de desarrollo de Discourse, la ejecución de pruebas para plugins que dependen de otros plugins falla.
Reproducción:
crea un nuevo contenedor de desarrollo: sudo d/boot_dev --init, completa la configuración
accede a http://localhost:3000/tests?target=discourse-calendar
página en blanco con error en la consola: Uncaught (in promise) Error: TypeError: The specifier “discourse/plugins/styleguide?” was a bare specifier, but was not remapped to anything. Relative module specifiers must start with “./”, “../” or “/”.
1 me gusta
Gracias por el informe. Puedo reproducir este problema en Firefox y ya he enviado una corrección. Una vez que se integre, debería volver a funcionar.
main ← dev-qunit-import-map
merged 04:49PM - 29 Sep 26 UTC
Firefox ignores an import map once any module has started loading, so plugin tes… t pages failed to boot there with `The specifier "discourse/plugins/styleguide?" was a bare specifier, but was not remapped to anything`.
This change renders `layouts/plugin_js` ahead of those scripts, which matches the order in `application.html.erb`, so plugin JS tests run in Firefox again.
1 me gusta