[Bug] extension-vscode: Node and npm not found
Opened this issue · 2 comments
🐞 Bug report
Description
Whenever I open my VS Code with the webhint extension enabled, I get greeted with the following message: “Ensure node
and npm
are installed to enable webhint to analyze source files.” As you can see in the attached screenshot, I indeed have both installed, however the extension does not work.
Details
- OS: macOS 15.0.1
- VS Code: 1.94.2
- Extension: 2.1.14
- Node.js: 20.18.0 (via
fnm
) - npm: 10.8.2 (via
fnm
)
Hi @robinloeffel,
Thanks for reporting this, I'll take a look. As a workaround you can use the Microsoft Edge Devtools extension for VSCCode. Webhint is part of it and could potentially solve your issue. Just please uninstall the webhint extension first as having both could lead to undesired behavior (we also have an open bug for this).
Same here. To add details, I installed n
via homebrew, which locates node's binary to: /opt/homebrew/bin/node