Skip to content

Question about environment to use when running m365 spfx project upgrade #4855

Closed Answered by milanholemans
JJFranko asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @JJFranko

The Node version needed to run CLI for Microsoft 365 is independent of the version of SPFx you are trying to upgrade. The prerequisites to run the CLI are listed here: https://pnp.github.io/cli-microsoft365/user-guide/installing-cli/#prerequisites
So whether you use node v1.16.1 or v1.12.1 for example doesn't really matter, they will give the same output.

One tip I would like to pass: try specifying the shell you are using in the command. If you are using PowerShell for example, specify --shell powershell as extra parameter. This will give you a way much better result!

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by JJFranko
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants