z2oh wrote:

I started hitting an error about missing `chokidar` module today and came 
across this PR when searching. My error is:
```
2025-09-24 10:57:12.237 [info] ExtensionService#_doActivateExtension 
llvm-vs-code-extensions.lldb-dap, startup: false, activationEvent: 
'onLanguage:swift', root cause: swiftlang.swift-vscode
2025-09-24 10:57:12.240 [error] Activating extension 
llvm-vs-code-extensions.lldb-dap failed due to an error:
2025-09-24 10:57:12.240 [error] Error: Cannot find module 'chokidar'
Require stack:
- 
/Users/jeremy/.vscode/extensions/llvm-vs-code-extensions.lldb-dap-0.2.17/out/lldb-dap-server.js
- 
/Users/jeremy/.vscode/extensions/llvm-vs-code-extensions.lldb-dap-0.2.17/out/extension.js
- /Applications/Visual Studio 
Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js
```

I'm not too familiar with the node ecosystem, but is there some missing step 
here that should be distributing or installing `chokidar`? Reinstalling the 
extension didn't help, but manually running `npm install` in 
`/Users/jeremy/.vscode/extensions/llvm-vs-code-extensions.lldb-dap-0.2.17` 
pulls down this dependency and the extension can start.

https://github.com/llvm/llvm-project/pull/159797
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to