yo @microsoft/sharepoint fails on This generator (@microsoft/sharepoint:app) requires yeoman-environment at least 3.0.0, current version is 2.10.3

1.4k views Asked by At

I have the following issue and I cannot fix it :

C:\project> yo @microsoft/sharepoint Error @microsoft/sharepoint

This generator (@microsoft/sharepoint:app) requires yeoman-environment at least 3.0.0,
current version is 2.10.3,
try reinstalling latest version of 'yo' or use '--ignore-version-check' option

I performed npm ls :
+-- @microsoft/[email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
`-- [email protected]

Could you please help me? thank you!

1

There are 1 answers

1
Nakura On

maybe you have a problem with the "path" with the user who used the computer before you, clean the modules in your C:\Users , clear node mdule in your file users in each user folder.