continue icon indicating copy to clipboard operation
continue copied to clipboard

continue extension failing onstart

Open Nanayeb34 opened this issue 1 year ago • 6 comments

Type: Bug

i installed Continue in wsl2. however, it doesn't work as expected. Instead i get the uncaught error below. no matter how many times i reload the extension, it still doesn't work but breaks with an onStartupFinished error below The specified module could not be found. \?\c:\Users\Sam.vscode\extensions\continue.continue-0.9.124-win32-x64\bin\napi-v3\win32\x64\onnxruntime_binding.node

image

Extension version: 0.9.124 VS Code version: Code 1.89.0 (b58957e67ee1e712cebf466b995adf4c5307b2bd, 2024-05-01T02:09:22.859Z) OS version: Windows_NT x64 10.0.22631 Modes: Remote OS version: Linux x64 5.15.146.1-microsoft-standard-WSL2

System Info
Item Value
CPUs Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz (8 x 2112)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 23.84GB (8.40GB free)
Process Argv --crash-reporter-id e06d819a-bc66-47b0-810c-b9fd9649036f
Screen Reader no
VM 0%
Item Value
Remote WSL: Ubuntu
OS Linux x64 5.15.146.1-microsoft-standard-WSL2
CPUs Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz (8 x 2111)
Memory (System) 11.60GB (7.67GB free)
VM 0%
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:31000450
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
ccp2r6:30993542
dsvsc020:30976470
pythonait:31006305
chatpanelt:31018789
dsvsc021:30996838
jg8ic977:31013176
pythoncenvptcf:31022791
dwnewjupytercf:31035177

Nanayeb34 avatar May 04 '24 23:05 Nanayeb34

@sestinj could you kindly help here

Nanayeb34 avatar May 06 '24 14:05 Nanayeb34

@Nanayeb34 can you do me a quick favor and check whether that file actually exists on your computer? (pretend that the path is constructed correctly without the missing '' before .vscode)

Either this is a build error if it's missing, or a problem in the onnxruntime_node library, in which case I'll make an issue there to see if we can get this solved

sestinj avatar May 06 '24 16:05 sestinj

yes @sestinj , the file exists at this location "C:\Users\Sam\.vscode\extensions\continue.continue-0.8.25-win32-x64\bin\napi-v3\win32\x64\onnxruntime_binding.node" on my local machine

Nanayeb34 avatar May 06 '24 23:05 Nanayeb34

Good to know, thank you! I will dig around onnxruntime_node to see what I can find

sestinj avatar May 08 '24 00:05 sestinj

Hello,

I have the same issue on Windows VSC 1.89 and on Nixos VSC 1.84.

AndreasRosenberger avatar May 08 '24 17:05 AndreasRosenberger

@AndreasRosenberger there is ongoing conversation about NixOS here. There's no complete solution yet, but I believe in a few situations it's been discovered what dependencies are needed

sestinj avatar May 08 '24 23:05 sestinj

Hi @sestinj

I encountered a similar issue, with my error message being The specified module could not be found. \?\c:\Users\AtomVW.vscode\extensions\continue.continue-0.8.27-win32-x64\bin\napi-v3\win32\x64\onnxruntime_binding.node. This resembles the error Nanayeb34 reported: The specified module could not be found. \?\c:\Users\Sam.vscode\extensions\continue.continue-0.9.124-win32-x64\bin\napi-v3\win32\x64\onnxruntime_binding.node.

I noticed that the concatenation of the user directory and .vscode seems to be incorrect, suggesting a simple path error. Sam.vscode AtomVW.vscode \?\c:

I also observed that both Nanayeb34 and I are using Windows 10, so I attempted to install it on another machine running Windows 11, where I didn't encounter the same issue. Therefore, I speculate that this might be a path error specific to Windows 10?

Apologies, I realized after sending that you seem to have already mentioned this issue.

(pretend that the path is constructed correctly without the missing '' before .vscode)

Looking forward to you addressing it.

Atomesh avatar May 16 '24 06:05 Atomesh

@sestinj, @AndreasRosenberger, @Nanayeb34, @Atomesh

I encountered the same problem. windows 10 vscode 1.87.2 continue 0.8.27

Found this discussion: https://stackoverflow.com/questions/69859120/the-specified-module-could-not-be-found-d-next-js-firstapp-node-modules-n

The issue is because the package is failing due to a missing library on the computer. fs-search requires Microsoft Visual C++ 2015 Redistributable (x64).

You can get the download here -> https://aka.ms/vs/17/release/vc_redist.x64.exe

After installing this everything worked.

seros1521 avatar Jun 06 '24 11:06 seros1521

These are very outdated versions. Current VSCode is 1.90.0 and current Continue extension is 0.8.40 (Continue is getting relevant changes, even with minor release, so I'd recommend to stay as much as possible up-to-date).

fry69 avatar Jun 06 '24 11:06 fry69