简体   繁体   English

哟@microsoft/sharepoint 在此生成器 (@microsoft/sharepoint:app) 上失败,需要 yeoman-environment 至少 3.0.0,当前版本为 2.10.3

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

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/generator-sharepoint@1.13.0
+-- gulp@3.9.1
+-- gulp-cli@2.3.0
+-- touch-cli@0.0.1
+-- typescript@4.4.4
+-- yeoman-environment@3.0.0
`-- yo@3.1.0

Could you please help me?请你帮助我好吗? thank you!谢谢你!

hello my name is Alex?你好我的名字叫阿历克斯? i need an answer too ,i tried a lot of things to fix it, looked at different forums but nothing helped, I hope someone here will tell you, if the author you found the answer, please write it down.我也需要一个答案,我尝试了很多方法来修复它,查看了不同的论坛但没有任何帮助,我希望这里有人告诉你,如果你找到答案的作者,请写下来。

也许您之前使用计算机的用户的“路径”有问题,清理 C:\\Users 中的模块,清除每个用户文件夹中文件用户中的节点 mdule。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM