-
Notifications
You must be signed in to change notification settings - Fork 331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug report: cli broken in azure shell #2017
Comments
Thanks for raising @BassemNKhalil Yes, unfortunately this is the case and we are aware of this, @appieschot has raised an issue in the Azure Cloud Shell Repo which has been acknowledged by the team, I expect that this will be looked into further in the New Year. Feel free to add to the above issue, I'll leave this issue open so we can track from our side. Sorry for the trouble, we hope to have this resolved ASAP. |
Thanks @garrytrinder - appreciate the swift response and the linking, didn’t know Azure Cloud Shell had its own repo. I’ll keep an eye on both into the new year, enjoy the holidays! |
Just a quick update on my end (seeing the updates here) - I've since worked around this by installing nvm and my own version of node (in my case the latest LTS, to avoid coming back to it often) which seems to be working fine. I was a bit hesitant at first to try this as I couldn't uninstall the the node version already installed on the shell but given how nvm mainly changes the path I decided to give it a try - so far, it seems to be working without any issues so far. The whole thing is a couple of lines to install nvm as explained here then installing the latest LTS using |
Thanks for sharing! I'm sure this will help others who are stuck as well. |
Azure Shell got updated to Node@16 and CLI is now working as intended. Yay! 🎉 |
Description
Creating a new shell in azure does not provide a working m365 cli
Steps to reproduce
Expected result
Should provide the help section
Actual result
Error - see below
Environment
Bash on Azure Shell
Node v8 (which isn't an option I chose but the default it was created with)
The text was updated successfully, but these errors were encountered: