manut
(Manuel Tancoigne)
9월 29, 2026, 9:47오전
1
안녕하세요,
새로 설치된 Discourse 개발 인스턴스에서 다른 플러그인에 의존하는 플러그인의 테스트를 실행하면 실패합니다.
재현 방법:
새로운 개발 컨테이너 생성: sudo d/boot_dev --init, 설정 완료
http://localhost:3000/tests?target=discourse-calendar 접속
빈 페이지와 함께 콘솔 오류 발생: 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개의 좋아요
리포트 감사합니다. Firefox에서 이 문제를 재현할 수 있었고 수정 사항을 제출했습니다. 병합되면 다시 정상적으로 작동할 것입니다.
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개의 좋아요