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

When I run it, I get an error. #185

Closed
tanmen opened this issue Sep 1, 2021 · 2 comments
Closed

When I run it, I get an error. #185

tanmen opened this issue Sep 1, 2021 · 2 comments

Comments

@tanmen
Copy link

tanmen commented Sep 1, 2021

I just tried to update to 6.0.0 and got an error.
I know that this is due to the fact that package.json states type: "module".
However, I do not understand what is the validity of this.
What should I do?

Errors that occur

SyntaxError: Cannot use import statement outside a module
@sindresorhus
Copy link
Owner

If you click the link in the release notes, it's explained in detail.

@tanmen
Copy link
Author

tanmen commented Sep 1, 2021

I didn't check.
Thank you very much.

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

2 participants