Closed DennisKost closed 9 months ago
Hi @DennisKost are you aware of this: https://github.com/TypeFox/monaco-languageclient#overrides-instructions and read this troubleshooting advice? https://github.com/TypeFox/monaco-languageclient#dependency-issues-monaco-editor--codingamemonaco-editor-treemended
Hi @DennisKost are you aware of this: https://github.com/TypeFox/monaco-languageclient#overrides-instructions and read this troubleshooting advice? https://github.com/TypeFox/monaco-languageclient#dependency-issues-monaco-editor--codingamemonaco-editor-treemended
thank you, this part of the problem is solved
Help me find a solution to these errors when importing this package. I am using vite, code for vite.config.ts added from https://github.com/TypeFox/monaco-languageclient/blob/main/vite.config.ts
main dependencies: "monaco-editor": "^0.45.0", "monaco-languageclient": "^7.3.0", "vscode": "npm:@codingame/monaco-vscode-api@~1.85.0"
Truncated error log: X [ERROR] Could not resolve "monaco-editor/esm/vs/platform/product/common/productService.js"
You can mark the path "monaco-editor/esm/vs/platform/product/common/productService.js" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.
X [ERROR] Could not resolve "monaco-editor/esm/vs/platform/product/common/productService.js"
You can mark the path "monaco-editor/esm/vs/platform/product/common/productService.js" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.
X [ERROR] Could not resolve "monaco-editor/esm/vs/platform/userDataProfile/common/userDataProfile.js"
You can mark the path "monaco-editor/esm/vs/platform/userDataProfile/common/userDataProfile.js" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.
X [ERROR] Could not resolve "monaco-editor/esm/vs/platform/remote/common/remoteHosts.js"
You can mark the path "monaco-editor/esm/vs/platform/remote/common/remoteHosts.js" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.
X [ERROR] Could not resolve "monaco-editor/esm/vs/platform/files/browser/htmlFileSystemProvider.js"
You can mark the path "monaco-editor/esm/vs/platform/files/browser/htmlFileSystemProvider.js" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.
X [ERROR] Could not resolve "monaco-editor/esm/vs/base/common/json.js"
You can mark the path "monaco-editor/esm/vs/base/common/json.js" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.
X [ERROR] Could not resolve "monaco-editor/esm/vs/base/browser/indexedDB.js"
You can mark the path "monaco-editor/esm/vs/base/browser/indexedDB.js" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.
X [ERROR] Could not resolve "monaco-editor/esm/vs/base/common/performance.js"
You can mark the path "monaco-editor/esm/vs/base/common/performance.js" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.
X [ERROR] Could not resolve "monaco-editor/esm/vs/platform/uriIdentity/common/uriIdentity.js"
You can mark the path "monaco-editor/esm/vs/platform/uriIdentity/common/uriIdentity.js" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.
X [ERROR] Could not resolve "monaco-editor/esm/vs/base/common/performance.js"
You can mark the path "monaco-editor/esm/vs/base/common/performance.js" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.
X [ERROR] import_meta.resolve is not a function [plugin import.meta.url]
..... The plugin "import.meta.url" was triggered by this import
X [ERROR] Could not resolve "monaco-editor/esm/vs/base/common/performance.js"
You can mark the path "monaco-editor/esm/vs/base/common/performance.js" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.
X [ERROR] Could not resolve "monaco-editor/esm/vs/platform/uriIdentity/common/uriIdentity.js"
You can mark the path "monaco-editor/esm/vs/platform/uriIdentity/common/uriIdentity.js" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.
X [ERROR] Could not resolve "monaco-editor/esm/vs/base/common/stream.js"
You can mark the path "monaco-editor/esm/vs/base/common/stream.js" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.
X [ERROR] Could not resolve "monaco-editor/esm/vs/base/common/json.js"
You can mark the path "monaco-editor/esm/vs/base/common/json.js" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.
X [ERROR] Could not resolve "monaco-editor/esm/vs/base/common/performance.js"
You can mark the path "monaco-editor/esm/vs/base/common/performance.js" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.
X [ERROR] Could not resolve "monaco-editor/esm/vs/platform/product/common/productService.js"
You can mark the path "monaco-editor/esm/vs/platform/product/common/productService.js" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.
X [ERROR] Could not resolve "monaco-editor/esm/vs/base/common/performance.js"
You can mark the path "monaco-editor/esm/vs/base/common/performance.js" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.
X [ERROR] Could not resolve "monaco-editor/esm/vs/platform/files/browser/htmlFileSystemProvider.js"
You can mark the path "monaco-editor/esm/vs/platform/files/browser/htmlFileSystemProvider.js" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.
X [ERROR] Could not resolve "monaco-editor/esm/vs/platform/remote/common/remoteHosts.js"
You can mark the path "monaco-editor/esm/vs/platform/remote/common/remoteHosts.js" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.
X [ERROR] Could not resolve "monaco-editor/esm/vs/base/browser/indexedDB.js"
You can mark the path "monaco-editor/esm/vs/base/browser/indexedDB.js" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.
X [ERROR] Could not resolve "monaco-editor/esm/vs/base/common/json.js"
You can mark the path "monaco-editor/esm/vs/base/common/json.js" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.
X [ERROR] Could not resolve "monaco-editor/esm/vs/platform/product/common/productService.js"
You can mark the path "monaco-editor/esm/vs/platform/product/common/productService.js" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.
X [ERROR] Could not resolve "monaco-editor/esm/vs/base/browser/indexedDB.js"
You can mark the path "monaco-editor/esm/vs/base/browser/indexedDB.js" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.