FurqanSoftware / codemirror-languageserver

Language Server integration for CodeMirror 6
BSD 3-Clause "New" or "Revised" License
183 stars 24 forks source link

Issue with dependencies; #28

Open GianniGiglio opened 10 months ago

GianniGiglio commented 10 months ago

Bug Report: Rollup Build Errors

Issue 1: CompletionItemKind Import

Error: "CompletionItemKind" is not exported by "node_modules/vscode-languageserver-protocol/lib/node/main.js". Suggested Fix: Update the import statement to reflect the correct source: javascript Copy code // Before import { CompletionItemKind } from 'vscode-languageserver-protocol';

// After import { CompletionItemKind } from 'vscode-languageserver-types'; Issue 2: RequestManager Export

Error: "RequestManager" is not exported by "node_modules/@open-rpc/client-js/build/index.js". Action Needed: Verify the availability of "RequestManager" in @open-rpc/client-js. Refer to the documentation or GitHub repository for the correct import statement.

Added my project as a zip

codemirror-rollup 2.zip

Is there perhaps somewhere a working example using npm that I could start with