OS: Windows 11
Bot Framework Composer: 2.1.2
Volta: 1.0.5
NodeJS: 14.19.0

FYI: It's installed on Windows not WSL
I installed NodeJS using Volta (via winget) but Bot Framework Composer can't detect it.
Error calling npm to fetch template. Please ensure that node and npm are installed and available on your system. Full error message: Command failed with exit code 4294963213: npm install -g --prefix C:\Users\benso\AppData\Roaming\BotFrameworkComposer\.yo-repository --loglevel error --no-optional @microsoft/generator-bot-empty@1.2.2
I thought this could be a problem with Composer but then I used NVS and it worked fine.