-
Notifications
You must be signed in to change notification settings - Fork 39
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
TypeError: Chalk is not a constructor #243
Comments
Hey, can you provide a repro details when you encounter this issue? |
I saw the same behaviour and I have resolved this issue by installing I can see that |
i just ran into this issue as well and agree that making |
Yeah sorry, my initial post could have been better. The solution is indeed to have the latest version of chalk and not to change the code to comply with a previous version as suggested in my initial post. |
I am also facing this problem as well so created a pr to move chalk as a dependency instead of a dev dependency |
Same issue here today. For now have installed
I've tried importing in different orders and re-installing node_modules with no success. Would be great to get this PR merged to remove the issue. |
Looks like this line is problematic:
aws-sdk-client-mock/packages/aws-sdk-client-mock-jest/src/vitest.ts
Line 18 in 3981b97
aws-sdk-client-mock: 4.1.0
aws-sdk-client-mock-jest: 4.1.0
Replacing with:
seems to fix it. I can open a PR if you're happy with this change 👍
The text was updated successfully, but these errors were encountered: