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

TS1031 Unexpected token Some(LParen) when importing rollup browser build #5978

Closed
nitsky opened this issue May 30, 2020 · 0 comments · Fixed by #6077
Closed

TS1031 Unexpected token Some(LParen) when importing rollup browser build #5978

nitsky opened this issue May 30, 2020 · 0 comments · Fixed by #6077
Labels
bug Something isn't working correctly cli related to cli/ dir

Comments

@nitsky
Copy link
Contributor

nitsky commented May 30, 2020

Hi, the following script:

import('https://unpkg.com/rollup@2.10.9/dist/es/rollup.browser.js')

fails in deno v1.0.3, but not in any prior version, with the following error:

error: Uncaught TypeError: TS1031 at https://unpkg.com/rollup@2.10.9/dist/es/rollup.browser.js:11:158446,Unexpected token Some(LParen) at https://unpkg.com/rollup@2.10.9/dist/es/rollup.browser.js:11:158453

Is this a bug that should be filed with swc?

@ry ry added bug Something isn't working correctly cli related to cli/ dir labels May 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly cli related to cli/ dir
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants