Skip to content
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

skypack fails on code with private fields #364

Open
trusktr opened this issue Oct 27, 2023 · 0 comments
Open

skypack fails on code with private fields #364

trusktr opened this issue Oct 27, 2023 · 0 comments

Comments

@trusktr
Copy link

trusktr commented Oct 27, 2023

Reproduction:

import('https://cdn.skypack.dev/lume/dist/index.js').then(console.log)

Error:

[Package Error] "[email protected]" could not be built. 
[1/5] Verifying package is valid…
[2/5] Installing dependencies from npm…
[3/5] Building package using esinstall…
Running esinstall...
Failed to load node_modules/lume/dist/core/ChildTracker.js
  Unexpected token (24:8) in lume/dist/core/ChildTracker.js
Install failed.
Install failed.

The reason is #private syntax.

Skypack needs a tooling update.

I wish we had a vanilla ESM server that would never break on syntax.

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

No branches or pull requests

1 participant