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

SyntaxError: Named export 'SyntaxKind' not found. #1

Open
peterpeterparker opened this issue Aug 21, 2022 · 0 comments
Open

SyntaxError: Named export 'SyntaxKind' not found. #1

peterpeterparker opened this issue Aug 21, 2022 · 0 comments

Comments

@peterpeterparker
Copy link
Owner

peterpeterparker commented Aug 21, 2022

Compile is successful but when used in ES modules, the lib might throw following error:

SyntaxError: Named export 'SyntaxKind' not found. The requested module 'typescript' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:...

Stacktrace leads to TypeScript issue #45813 which might be solved in v4.6.x (?)

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