-
Notifications
You must be signed in to change notification settings - Fork 15
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
Circular dependency with 1.0.0-beta.9 #607
Comments
Hi, |
Hi therve, |
Isn't your project a react in-browser project? Because that won't work with datadog-api-client for now anyway. |
I don't think there's any react in the cloud flare workers code. Just typescript |
Aren't those messages warnings not errors? |
Yeah it still builds even with the circular dependency warning but I'm unable to deploy to cloudflare workers after that. Just importing the datadog-api-client-tyepscript into the project and the require statement is enough to break it. I don't know 100% if this lib is the problem but without the import it works and with the import it fails to launch. The only data I have to go on is a warning about a bunch of circular dependencies. |
Should be fixed in #616 , which will be in the next release. Thanks! |
Describe the bug
When consuming
@datadog/[email protected]
using rollup commonjs + node-resolve plugins a circular dependency is raised from the@datadog/datadog-api-client
package. Replication steps to follow belowTo Reproduce
Steps to reproduce the behavior:
npm install
./node_modules/.bin/rollup -c rollup.config.js
Expected behavior
Expect that rollup is able to complete a build with no circular dependency errors
Screenshots
N/A
Environment and Versions (please complete the following information):
A clear and precise description of your setup:
Additional context
N/A
The text was updated successfully, but these errors were encountered: