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

Which all module systems does yeoman-generator@5.8.0 supports? #1771

Open
n0noob opened this issue Feb 27, 2024 · 0 comments
Open

Which all module systems does yeoman-generator@5.8.0 supports? #1771

n0noob opened this issue Feb 27, 2024 · 0 comments

Comments

@n0noob
Copy link

n0noob commented Feb 27, 2024

I am using CLI: yo@4.3.1 with yeoman-generator@5.8.0.
Generator is written in TS. When I try to change module system from commonjs to ES2020. It throws following error:

Cannot use import statement outside a module
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