Closed AfterStories closed 2 days ago
It seems like the install scripts may not have completed. Were you able to run the IntelliJ configuration tasks mentioned here? https://github.com/continuedev/continue/blob/main/extensions/intellij/CONTRIBUTING.md#running-the-extension-in-debug-mode
Before submitting your bug report
Relevant environment info
Description
I want to try to run the JetBrains extension locally. According to the description in the CONTRIBUTING.md file in the main branch, I first executed the (c:\Users\hzheng057\Desktop\Code\continue\core\util\devdataSqlite.ts:3:21)
at (/internal/modules/cjs/loader:1546:14)
at (/internal/modules/cjs/loader:1689:10)
at (/internal/modules/cjs/loader:1318:32)
at (/internal/modules/cjs/loader:1128:12)
at traceSync (/diagnostics_channel:315:14)
at wrapModuleLoad (/internal/modules/cjs/loader:218:24)
at executeUserEntryPoint (/internal/modules/run_main:170:5)
at (/internal/main/run_main_module:36:49)
bindings.js:126
install-all-dependencies
task. Then, according to the description in the extensions\intellij\CONTRIBUTING.md file, I started "Core Binary" in VS Code Then I got following error message : C:\node-v22.11.0-win-x64\node.exe .\out\index.js Process exited with code 1 Uncaught Error Error: Could not locate the bindings file. Tried: → C:\Users\hzheng057\Desktop\Code\continue\binary\build\node_sqlite3.node → C:\Users\hzheng057\Desktop\Code\continue\binary\build\Debug\node_sqlite3.node → C:\Users\hzheng057\Desktop\Code\continue\binary\build\Release\node_sqlite3.node → C:\Users\hzheng057\Desktop\Code\continue\binary\out\Debug\node_sqlite3.node → C:\Users\hzheng057\Desktop\Code\continue\binary\Debug\node_sqlite3.node → C:\Users\hzheng057\Desktop\Code\continue\binary\out\Release\node_sqlite3.node → C:\Users\hzheng057\Desktop\Code\continue\binary\Release\node_sqlite3.node → C:\Users\hzheng057\Desktop\Code\continue\binary\build\default\node_sqlite3.node → C:\Users\hzheng057\Desktop\Code\continue\binary\compiled\22.11.0\win32\x64\node_sqlite3.node → C:\Users\hzheng057\Desktop\Code\continue\binary\addon-build\release\install-root\node_sqlite3.node → C:\Users\hzheng057\Desktop\Code\continue\binary\addon-build\debug\install-root\node_sqlite3.node → C:\Users\hzheng057\Desktop\Code\continue\binary\addon-build\default\install-root\node_sqlite3.node → C:\Users\hzheng057\Desktop\Code\continue\binary\lib\binding\node-v127-win32-x64\node_sqlite3.node at bindings (c:\Users\hzheng057\Desktop\Code\continue\core\node_modules\bindings\bindings.js:126:9) at ../core/node_modules/sqlite3/lib/sqlite3-binding.js (c:\Users\hzheng057\Desktop\Code\continue\core\node_modules\sqlite3\lib\sqlite3-binding.js:1:18) at require (c:\Users\hzheng057\Desktop\Code\continue\binary\out\index.js:18:51) at ../core/node_modules/sqlite3/lib/sqlite3.js (c:\Users\hzheng057\Desktop\Code\continue\core\node_modules\sqlite3\lib\sqlite3.js:2:17) at require (c:\Users\hzheng057\Desktop\Code\continue\binary\out\index.js:18:51) atFrom the error content, I think the required files are not built in the binary folder, so I went to the binary folder and executed the npm run build command, and the following error message :
(base) PS C:\Users\hzheng057\Desktop\Code\continue\binary> npm run build
[info] Downloading prebuilt lancedb... [info] Downloading for win32-x64... Copying @lancedb/vectordb-win32-x64-msvc to @lancedb npm warn using --force Recommended protections disabled. Contents of: @lancedb/vectordb-win32-x64-msvc [ 'vectordb-win32-x64-msvc' ] [info] Copied tree-sitter.wasm [info] Copied llamaTokenizerWorkerPool.mjs [info] Copied llamaTokenizer.mjs [info] Copied tiktokenWorkerPool.mjs [info] Cleaning up artifacts from previous builds... [info] Building with esbuild... [info] Building binaries with pkg... [info] Building win32-x64... (node:24792) [DEP0040] DeprecationWarning: The
punycode
module is deprecated. Please use a userland alternative instead. (Usenode --trace-deprecation ...
to show where the warning was created) Error executing command 'npx pkg --no-bytecode --public-packages "*" --public pkgJson/win32-x64 --out-path bin/win32-x64': ,> pkg@5.8.1(0, assert_1.default)(!this.bar)
,(node:24792) [DEP0040] DeprecationWarning: The
punycode
module is deprecated. Please use a userland alternative instead. (Usenode --trace-deprecation ...
to show where the warning was created)The node version I use is V22, and I also set the node version in binary\package.json: "targets": [ "node22-win-x64" ],
**But I saw in the error message that it seems to be looking for the v18 version of node {"tag":"v3.4","name":"node-v18.5.0-win-x64"}
I don't know if this error is caused by node version , or the pkg config issues ? For the current problem I'm facing, could you help me check how I can solve this error and Launchthe plugin?**
To reproduce
install-all-dependencies then, Core Binary
Log output