Skip to content

[Bug]: failed to initialize server: (node:1404546) ExperimentalWarning: Importing JSON modules is an experimental feature #348

Open
@medeirosjoaquim

Description

@medeirosjoaquim

Version

0.1.3

App

  • Cursor
  • Windsurf
  • VSCode
  • VSCode Insiders
  • Claude Desktop
  • Other

Affected Models (if applicable)

  • Claude 3.5 Sonnet
  • Claude 3.7 Sonnet
  • GPT-4a
  • o4-mini
  • Other

Bug Description

Can't use in Windsurf or Claude Code. Tried with node v.20 and node v.24, on macOs and Linux

Error:

Error: failed to initialize server: (node:1404546) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time (Use `node --trace-warnings ...` to show where the warning was created)
/home/user/.npm/_npx/191c568aa03d4fb8/node_modules/@mongodb-js/oidc-plugin/dist/plugin.js:44 const openid_client_1 = require("openid-client"); ^ Error [ERR_REQUIRE_ESM]: require() of ES Module

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions