You use Bun Node compatibility mode, which is not recommended! It will affect your…
- User
You use Bun Node compatibility mode, which is not recommended! It will affect your performance. Please check our Bun integration recipe, and avoid using 'http' for your server implementation.
what is this error?
- Assistant
This message seems to be a warning related to the use of Bun, a JavaScript runtime similar to Node.js. The warning indicates that you are using Bun's Node compatibility mode, which is not the recommended way of using Bun for your project. This compatibility mode allows you to run Node.js code within Bun, but doing so might come with certain performance drawbacks or incompatibilities.
Here are some steps you can take to address this warning:
-
Check Bun Integration Recipe: Review the official documentation or integration guide (often referred to as a "recipe") provided by Bun. It likely contains instructions on how to properly configure and run your project using Bun without relying on Node compatibility mode.
-