You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pretty much fresh setup of vscode and stylelint-vscode. I have multiple node runtimes installed (trough nvm) and everything works fine when I'm using stylelint in terminal. But vscode extension fails to launch with the following error "Cannot find module 'node:process'. I suppose for some reason it uses the older node runtime (pre 14 something) but I can't find a way configure extension to use the correct node version.
How did you encounter this bug?
Pretty much fresh setup of vscode and stylelint-vscode. I have multiple node runtimes installed (trough nvm) and everything works fine when I'm using stylelint in terminal. But vscode extension fails to launch with the following error "Cannot find module 'node:process'. I suppose for some reason it uses the older node runtime (pre 14 something) but I can't find a way configure extension to use the correct node version.
Link to Minimal Reproducible Example
No response
Code Snippet
No response
Stylelint Configuration
Extension Configuration
Actual Behaviour
Extension fails to launch because it picks up older node runtime.
Expected Behaviour
Extension should use node runtime selected by nvm. Maybe there should be a way to explicitly configure node path in the extension settings like eslint has (see
eslint.runtime
https://github.com/microsoft/vscode-eslint?tab=readme-ov-file#settings-options. )Logs
Stylelint Version
16.7.0
vscode-stylelint Version
1.3.0
Node.js Version
v18.20.4
Operating System
Windows Server 2016 Standard 1607
Windows Subsystem for Linux
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: