Skip to content

Failed to import - pota #1131

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
titoBouzout opened this issue May 3, 2025 · 1 comment
Open

Failed to import - pota #1131

titoBouzout opened this issue May 3, 2025 · 1 comment
Labels
browser Not working in Browser

Comments

@titoBouzout
Copy link

Failing module

import { render } from 'pota'
import { html } from 'pota/html'

 render(html`hello`)

Error message

After onload I got this:

The requested module '../pota.mjs' does not provide an export named 'isComponentable' (at renderer.js:43:2)

Additional info

  • Browser info: Chrome
@titoBouzout titoBouzout added the browser Not working in Browser label May 3, 2025
@titoBouzout titoBouzout changed the title Failed to import - Failed to import - pota May 3, 2025
@titoBouzout
Copy link
Author

I'm at a loss on why this fail. This works with babel, etc. I could change stuff on my end to solve this issue. esm.sh is pretty cool, and I was planning to use it in a playground, as it provides typings! but this issue has been at a stopper and I don't know what to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser Not working in Browser
Projects
None yet
Development

No branches or pull requests

1 participant