stencil icon indicating copy to clipboard operation
stencil copied to clipboard

component selector starting with "js-" results in invalid-bundle-id

Open Farbdose opened this issue 8 years ago • 3 comments

Stencil version:

 @stencil/[email protected]

I'm submitting a:

[x] bug report [ ] feature request [ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/

Current behavior: App loads forever. Manual reload results in

TypeError: Failed to fetch dynamically imported module: 
http://localhost:3333/build/mycomponent/invalid-bundle-id.entry.js 

Expected behavior: Sample app should start normally.

Steps to reproduce:

  1. Clone stencil-component-starter & npm install
  2. replace the component selector "my-component" with "js-component"
  3. npm run start

Demo repository: https://github.com/Farbdose/stencil-js-bug-demo

Farbdose avatar Nov 26 '18 15:11 Farbdose

I've noticed the same problem (not only with js-, but with something like jsxyz- as well); . Since this is no restriction of native Web Components, I'd assume that this is a bug which should be fixable?

jostschmithals avatar Feb 12 '19 21:02 jostschmithals

This should be fixed in the latest version. If it's still a problem, would you be able to create an issue with a thorough description on how to replicate this? Thanks

adamdbradley avatar Jan 19 '20 18:01 adamdbradley

Thanks for fixing it. I will try it out.

jostschmithals avatar Jan 21 '20 09:01 jostschmithals