/MonacoDemo

Primary LanguageJavaScript

ERROR

Cannot read properties of undefined (reading 'toString')

  • at extractResources (file:///E:/Test%20Project%20for%20intellisense/MonacoEditor/editor/node_modules/@codingame/monaco-vscode-rollup-vsix-plugin/rollup-vsix-plugin.js:1147:58)

  • at async extractResourcesFromExtensionManifest (file:///E:/Test%20Project%20for%20intellisense/MonacoEditor/editor/node_modules/@codingame/monaco-vscode-rollup-vsix-plugin/rollup-vsix-plugin.js:1128:28)

  • at async Context.load (file:///E:/Test%20Project%20for%20intellisense/MonacoEditor/editor/node_modules/@codingame/monaco-vscode-rollup-vsix-plugin/rollup-vsix-plugin.js:1254:41)

  • at async Object.load (file:///E:/Test%20Project%20for%20intellisense/MonacoEditor/editor/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:44316:32)

  • at async loadAndTransform (file:///E:/Test%20Project%20for%20intellisense/MonacoEditor/editor/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:54943:24

    image

About the Project

My main motive for the project was to create a code editor using Electron and React. I want to add an Intellisense feature for C++, and I wonder if I can use the Clangd extension to do so in an Electron React environment. I am new to development, so if you can help me achieve my goal, it would be very helpful for me. I was just trying to setup the extension. So i created a new project using react only.

Questions

  • Does vsCode also uses ext-host server for clangD extension?
  • if the extension can works fine in VsCode.Then can it work on monaco also?