codesandbox-client
codesandbox-client copied to clipboard
Unexpected token 'export'
trafficstars
🐛 bug report
Preflight Checklist
- [x] I have read the [Contributing Guidelines][contributing] for this project.
- [x] I agree to follow the [Code of Conduct][code_of_conduct] that this project adheres to.
- [x] I have searched the issue tracker for an issue that matches the one I want to file, without success.
Description of the problem
SyntaxError Unexpected token 'export' is thrown every other run, when importing @angular/localize/[email protected] module.
How has this issue affected you? What are you trying to accomplish?
Makes running Angular 12 projects a bit annoying.
To Reproduce
- Run the following demo https://codesandbox.io/s/wonderful-driscoll-0uz7mo?file=/src/polyfills.ts
- Hit the reload button a few times
- Every second run fails with the same error.
Hey @tapopov - I'm getting this error while running the Sandbox: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'https://unpkg.com/[email protected]/lib/typescript.js' failed to load.
Have you made any changes?