Skip to content

not working with node js 22 #29

@ryzamedia

Description

@ryzamedia

import { ModelOperations } from "@vscode/vscode-languagedetection";
^

SyntaxError: The requested module '@vscode/vscode-languagedetection' does not provide an export named 'ModelOperations'
at ModuleJob._instantiate (node:internal/modules/esm/module_job:180:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:263:5)
at async onImport.tracePromise.proto (node:internal/modules/esm/loader:547:26)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:

Node.js v22.13.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions