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
piejanssens
changed the title
Two npm tasks using the same script name from different cwd's cannot be used distinctively in WSL
NPM tasks using the same script name from different cwd's cannot be used distinctively in WSL
Apr 9, 2021
The bot guessed it right (impressive! - I didn't find that issue with a manual search), #116705 seems very similar.
The author has reported it microsoft/vscode-js-debug#1321
He is reporting the issue on native macOS, so this might be a unix issue, not directly WSL related.
Since the npm extension is now built-in, I hope my issue doesn't get closed and banned to report it in the extension vscode-npm-scripts as there is not much activity going on if I look at the open issues and PR's...
@piejanssens thank you for the very clear steps! The path value for your subfolder task actually needs to be the path to the subfolder for the npm extension and the tasks system to be able to tell which task you're trying to configure in your tasks.json file.
VS Code Version: 1.55.1
OS Version: Linux BE-PC1HY22Y 5.4.72-microsoft-standard-WSL2 use another key binding prefix than cmd+n vscode-npm-scripts#1 SMP Wed Oct 28 23:40:43 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Version: 1.55.1 (user setup)
Commit: 08a217c
Date: 2021-04-07T15:06:02.360Z
Electron: 11.3.0
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: 8.7.220.31-electron.0
OS: Windows_NT x64 10.0.19042
Steps to Reproduce:
Use VS Code in WSL. I cannot reproduce the issue when I reopen the same project window under [Windows.](url
tasks-issue.zip
)
You can find the sample project structure attached and skip steps 1-4
/package.json
and replace the echo script with thisObservations:
Does this issue occur when all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered: