-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
chalk imported from npm:prettier is somehow incomplete #21269
Comments
Can you post your deno.lock file? |
deno.lock
|
This is because chalk2 relies on the |
Closing as working as designed. Deno doesn't allow I opened #21276 to potentiatlly have a way to opt-into enabling this. |
This deno code threw an error
but I was expecting this error to be thrown. (This is a node.js script)
The error is thrown from prettier lib
...which was strange. This indicates npm:chalk imported from npm:prettier is incomplete.
This code works fine in Node.js, so I think it is deno related. I know npm support is still on progress, but does this issue reproduce? Is this a known issue?
#13321 states that old version of chalk do not work with deno, but I npm:prettier is depending on chalk@5, so I think it is a different issue. I also found this error will not reproduce if I launch and attach the debugger (using VSCode). I have no clue about this behavior.
my environment:
tips:
The text was updated successfully, but these errors were encountered: