-
Notifications
You must be signed in to change notification settings - Fork 26
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
npm run test
fails due to 'Jest encountered an unexpected token' when strip-ansi is updated to 7.0.0
#98
Comments
@oke-py Did you end up solving this issue? |
@tomprats No. Could you help me? |
I made a ton of changes and can't remember exactly which one did it but here's a summary of what I did:
Sorry I can't be more specific, but I think it was one of those |
Thanks. I'll update nodejs to 16.x and then look into this issue. |
My best guess is that updating node fixed it, but I'm not sure |
@theycallmeswift Perhaps this will help you? |
I'd like to update strip-ansi to 7.0.0.
[email protected] is pure ESM, and so the way using the module has changed.
reproduce
Edit the package.json as below.
Run
npm i
andnpm run test
.The text was updated successfully, but these errors were encountered: