Closed mihirgarg01 closed 1 year ago
Bun encourages opening issues with Bun when libraries fail. It the mission of Bun to be node library compatible.
Seems like it's an issue with bun and formatWithOptions
is not supported yet.
Have a look: https://bun.sh/docs/runtime/nodejs-apis
🟡 Missing util.MIMEParams util.MIMEType util.formatWithOptions()...
This has been fixed with bun@1.1.0
and is now working, see https://bun.sh/docs/runtime/nodejs-apis#node-util.
Describe the bug Upon running the example code for tslog, I recive an error: 'TypeError: formatWithOptions is not a function.' Here's the entire error: pastebin.com
To Reproduce
bun run logger.ts
Expected behavior "Hello World" should have been returned in the console.
Screenshots Code & Error
Additional context I am using bunjs, not nodejs. Entirely possible that's the issue.
Node.js Version Bunjs 0.6.8
OS incl. Version Ubuntu 22.04.2 LTS on WIndows 10