Quantcast
Viewing all articles
Browse latest Browse all 10096

While Setting up Set our SharePoint Framework development environmentmy, i got this error"Your yo version is outdated."

I am setting up our SharePoint framework development environment inside windows 7 64x, as mentioned in this video:-

https://docs.microsoft.com/en-us/sharepoint/dev/spfx/set-up-your-development-environment

I successfully installed node.js + VS code. and now I am at the stage of installing the yo package, using this command:-

npm install -g yo gulp

but i got this error, that "Your yo version is outdated" :-

V Global configuration file is valid
V NODE_PATH matches the npm root
V Node.js version
V No .bowerrc file in home directory
V No .yo-rc.json file in home directory
× yo version

Your yo version is outdated.

Upgrade to the latest version by running:
npm install -g yo@latest

V npm version

Found potential issues on your machine :(
+ gulp@3.9.1+ yo@2.0.5
added 787 packages in 229.024s

so i run this command to upgrade yo, as follow:-

npm install -g yo@latest

but i got the same error:-

Running sanity checks on your system

V Global configuration file is valid
V NODE_PATH matches the npm root
V Node.js version
V No .bowerrc file in home directory
V No .yo-rc.json file in home directory
× yo version

Your yo version is outdated.

Upgrade to the latest version by running:
npm install -g yo@latest

V npm version

Found potential issues on your machine :(
+ yo@2.0.5
updated 1 package in 38.439s

I also tried running these commands:-

npm rm -g yo
npm install -g yo

but did not fix anything.

and when i wanted to open yo , as follow, i got another error:-

PS C:\Users\*****> yo @microsoft/sharepoint
yo : The term 'yo' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1+ yo @microsoft/sharepoint+ ~~+ CategoryInfo          : ObjectNotFound: (yo:String) [], CommandNotFoundException+ FullyQualifiedErrorId : CommandNotFoundException
please can anyone advice ?



Viewing all articles
Browse latest Browse all 10096

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>