IssueRaiser

Feature Request: Bun Support

Hi, I'm trying to run my app with Bun but I'm getting this error and it seems the root cause is the package of dd-trace. I know this is not your responsibility to fix this kind of issues, however, I wonder if there's any chance you take a look in case you can support the Bun project by fixing the problem from your side or giving feedback about what is the incompatibility issue with this library and Bun. <!-- If your issue relates to Lambda it _may_ be better handled in this repository: https://github.com/DataDog/datadog-lambda-js If your issue contains sensitive information consider opening a helpdesk ticket instead: https://www.datadoghq.com/support/ --> **Expected behaviour** <!-- What should be happening. --> Start the Nestjs server successfully with Bun. NPM script: "start": "NODE_ENV=localdev nest start --watch --exec \"bun run\"", **Actual behaviour** <!-- What should be happening. --> It's throwing the following error when starting a Nest.js app: ```ts [2:20:07 AM] Starting compilation in watch mode... [2:20:24 AM] Found 0 errors. Watching for file changes. error: Cannot find module "./hooks" from "[object Object]" ``` **Steps to reproduce** <!-- How can we reproduce this issue in order to diagnose it? Code snippets and sample apps are encouraged! --> 1. Create a Nestjs app 2. Install the dependency `ddt-trace` with Bun 1.0.8 3. Execute bun start command: Have the start script as: "start": "NODE_ENV=localdev nest start --watch --exec \"bun run\"", *

Posted by diavrank on Oct 28, 2023, 8:43 AM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.2,000 issues0 comments

support (SaaS)

Feature Request: Bun Support

diavrankOct 28, 2023, 8:43 AM

Hi, I'm trying to run my app with Bun but I'm getting this error and it seems the root cause is the package of dd-trace. I know this is not your responsibility to fix this kind of issues, however, I wonder if there's any chance you take a look in case you can support the Bun project by fixing the problem from your side or giving feedback about what is the incompatibility issue with this library and Bun. <!-- If your issue relates to Lambda it _may_ be better handled in this repository: https://github.com/DataDog/datadog-lambda-js If your issue contains sensitive information consider opening a helpdesk ticket instead: https://www.datadoghq.com/support/ --> **Expected behaviour** <!-- What should be happening. --> Start the Nestjs server successfully with Bun. NPM script: "start": "NODE_ENV=localdev nest start --watch --exec \"bun run\"", **Actual behaviour** <!-- What should be happening. --> It's throwing the following error when starting a Nest.js app: ```ts [2:20:07 AM] Starting compilation in watch mode... [2:20:24 AM] Found 0 errors. Watching for file changes. error: Cannot find module "./hooks" from "[object Object]" ``` **Steps to reproduce** <!-- How can we reproduce this issue in order to diagnose it? Code snippets and sample apps are encouraged! --> 1. Create a Nestjs app 2. Install the dependency `ddt-trace` with Bun 1.0.8 3. Execute bun start command: Have the start script as: "start": "NODE_ENV=localdev nest start --watch --exec \"bun run\"", *

Comments (0)

No comments yet. Start the discussion.

Comment on this issue