Skip to content
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

Updated libraries. Applied prettier #2

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

KoenDG
Copy link

@KoenDG KoenDG commented Dec 5, 2022

Tried it out, updated library versions.

@wonjoonSeol-WS
Copy link

i am getting this:

import { client, v2 } from '@datadog/datadog-api-client';
         ^^^^^^
SyntaxError: Named export 'client' not found. The requested module '@datadog/datadog-api-client' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:

import pkg from '@datadog/datadog-api-client';
const { client, v2 } = pkg;

@KoenDG
Copy link
Author

KoenDG commented Jan 18, 2023

Just tried again, not getting it here.

Did you do npm i and then npm ci before running? You might need to delete you node_modules first and then npm i and npm ci again.

Runs on Node 16 and 18 without error for me

@KoenDG
Copy link
Author

KoenDG commented Jan 18, 2023

Did another update after checking out the comment. Datadog updated the library again.

Updated, tested, works without error for me on node 18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants