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
But, it keeps starting this task with node "16.0.0", even though the .nvmrc file in the repo says 16.15.0, and the user sets nvm alias default 16.15.0.
Is there a way to configure a "brightscript" task to use the "default" node version, similar to the way that tasks of type "node" can configure their runtimeVersion as "default"?
The text was updated successfully, but these errors were encountered:
Vscode ships with a specific node version (which can be seen in the "about vscode" window. Mine is currently running node 18.17.1). The language server and debug server and the extension itself all run with that bundled node version, and we have no control over that.
The preLaunchTask , if configured to be run as "shell", should run whatever node version your shell discovers. Running that task directly from vscode (i.e. "command pallet" -> run task -> "Build ReferenceApp") should be run in the exact same context as if the launch command has triggered it, so hopefully that provides some insight into what's going on.
In both cases, we don't actually pick the node version at all.
Recently, we've had some folks using debug tasks configured as BrightScript tasks, for example:
But, it keeps starting this task with node "16.0.0", even though the .nvmrc file in the repo says
16.15.0
, and the user setsnvm alias default 16.15.0
.Is there a way to configure a "brightscript" task to use the "default" node version, similar to the way that tasks of type "node" can configure their runtimeVersion as "default"?
The text was updated successfully, but these errors were encountered: