我正在尝试学习如何使用 SPFx,但是在跑步的第一步中我就失败了yo @microsoft/sharepoint。
运行时出现以下错误yo @microsoft/sharepoint:
Error @microsoft/sharepoint\n\nYou don't seem to have a generator with the name \xe2\x80\x9c@microsoft/sharepoint\xe2\x80\x9d installed.\nBut help is on the way:\n\nYou can see available generators via npm search yeoman-generator or via http://yeoman.io/generators/.\nInstall them with npm install @microsoft/generator-sharepoint.\n\nTo see all your installed generators run yo --generators. Adding the --help option will also show subgenerators.\n\nIf yo cannot find the generator, run yo doctor to troubleshoot your system.\nRun Code Online (Sandbox Code Playgroud)\n我尝试过运行npm install @microsoft/generator-sharepoint -g,但这并不能解决上述错误。还值得注意的是,我在运行安装生成器命令时遇到了一堆错误: …