Closed breanne-warner closed 3 months ago
Can you provide the AWS Toolkit logs?
AWS: View Logs
. This reveals the Output panel with AWS Toolkit Logs
selected.Debug
, then click it again and choose Set As Default
.I'm seeing the same error withe the state machine language server, but it's on 3.10.0 and is not occurring in 3.9.0 log attached toolkit.log
@up-town-down in your case does vscode say "extension host" specifically? If not, that is likely a separate issue.
Snippet from your log for visibility:
Node.js v20.9.0
[Info - 14:08:16] Connection to server got closed. Server will restart.
node:internal/modules/cjs/loader:1058
throw err;
^
Error: Cannot find module 'vscode'
Require stack:
- /Users/user/.vscode/extensions/amazonwebservices.aws-toolkit-vscode-3.10.0/dist/src/stepFunctions/asl/aslServer.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1055:15)
at Module._load (node:internal/modules/cjs/loader:908:27)
at c._load (node:electron/js2c/node_init:2:13672)
at Module.require (node:internal/modules/cjs/loader:1122:19)
at require (node:internal/modules/helpers:130:18)
at /Users/user/.vscode/extensions/amazonwebservices.aws-toolkit-vscode-3.10.0/dist/src/stepFunctions/asl/aslServer.js:1393:72630
at /Users/user/.vscode/extensions/amazonwebservices.aws-toolkit-vscode-3.10.0/dist/src/stepFunctions/asl/aslServer.js:1394:7362
at Object.<anonymous> (/Users/user/.vscode/extensions/amazonwebservices.aws-toolkit-vscode-3.10.0/dist/src/stepFunctions/asl/aslServer.js:1394:7401)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1311:10) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/Users/user/.vscode/extensions/amazonwebservices.aws-toolkit-vscode-3.10.0/dist/src/stepFunctions/asl/aslServer.js'
]
}
Possibly is separate then - I honed in on the rest of the error message - my bad :)
After updating to the latest version, are you still seeing this problem?
Possibly fixed by:
Please update the extension(s) to the latest version, and restart vscode. Let us know if the issue is not resolved!
Type: Bug
I used the Bisect to identify this extension as the issue
Extension version: 3.9.0 VS Code version: Code 1.90.0 (89de5a8d4d6205e5b11647eb6a74844ca23d2573, 2024-06-04T19:33:54.889Z) OS version: Windows_NT x64 10.0.19045 Modes:
System Info
|Item|Value| |---|---| |CPUs|AMD Ryzen 5 PRO 5650U with Radeon Graphics (12 x 2296)| |GPU Status|2d_canvas: enabledcanvas_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)|15.31GB (2.67GB free)| |Process Argv|--crash-reporter-id 3c1cede6-1e82-4c37-8ec1-2e3486e57dd1| |Screen Reader|no| |VM|0%|
A/B Experiments
``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805cf:30301675 binariesv615:30325510 vsaa593:30376534 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 962ge761:30959799 pythongtdpath:30769146 welcomedialog:30910333 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 pythontestfixt:30902429 pythonregdiag2:30936856 pythonmypyd1:30879173 h48ei257:31000450 pythontbext0:30879054 accentitlementst:30995554 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 jchc7451:31067544 chatpanelt:31048053 dsvsc021:30996838 bdiig495:31013172 pythoncenvpt:31062603 a69g1124:31058053 dvdeprecation:31068756 pythonprt:31056678 dwnewjupytercf:31046870 fa862199:31048878 ```