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
Describe the bug
I use NVM to have multiple Node.js versions on my machine. When I use the teamsfx command under v16 I get an error because the version is not supported. When I switch to v14, I get an error command not found
To Reproduce
nvm use v16
teamsfx --version => OK
nvm use v14
teamsfx --version => error: "Command not found"
npm install @microsoft/teamsfx
teamsfx --version => error: "Command not found"
npm install -g @microsoft/teamsfx
teamsfx --version => error: "Command not found"
nvm use v16
teamsfx --version => OK
Expected behavior
After installing teamsfx I should be able to switch versions with NVM. It would be ok if I had to install it on each version, but that doesn't work either.
Screenshots
VS Code Extension Information (please complete the following information):
Using teamsfx from the command line
CLI Information (please complete the following information):
OS: macOS
Version 12.3.1
The text was updated successfully, but these errors were encountered:
Thank you for contacting us! Any issue or feedback from you is quite important to us. We will do our best to fully respond to your issue as soon as possible. Sometimes additional investigations may be needed, we will usually get back to you within 2 days by adding comments to this issue. Please stay tuned.
nevermind, looks like I was looking for the wrong package. I uninstalled @microsoft/teamsfx-cli from v16 and installed it for v14 - that fixed the problem. Looking forward to get v16 fully supported.
Describe the bug
I use NVM to have multiple Node.js versions on my machine. When I use the
teamsfx
command under v16 I get an error because the version is not supported. When I switch to v14, I get an errorcommand not found
To Reproduce
nvm use v16
teamsfx --version
=> OKnvm use v14
teamsfx --version
=> error: "Command not found"npm install @microsoft/teamsfx
teamsfx --version
=> error: "Command not found"npm install -g @microsoft/teamsfx
teamsfx --version
=> error: "Command not found"nvm use v16
teamsfx --version
=> OKExpected behavior
After installing
teamsfx
I should be able to switch versions with NVM. It would be ok if I had to install it on each version, but that doesn't work either.Screenshots
VS Code Extension Information (please complete the following information):
Using
teamsfx
from the command lineCLI Information (please complete the following information):
The text was updated successfully, but these errors were encountered: