【发布时间】:2019-11-11 13:56:30
【问题描述】:
我按照 Microsoft 文档设置 SharePoint 框架。 https://docs.microsoft.com/en-us/sharepoint/dev/spfx/set-up-your-development-environment 但是当我到了应该安装生成器的地步时,它给了我这个错误。
>>
PS C:\Users\jakub.yaghob> npm install @microsoft/generator-sharepoint -g
>>
npm WARN notsup Unsupported engine for got@5.7.1: wanted: {"node":">=0.10.0 <7"}
(current: {"node":"12.13.0","npm":"6.13.0"})
>>
npm WARN notsup Not compatible with your version of node/npm: got@5.7.1
>>
+ @microsoft/generator-sharepoint@1.9.1
updated 1 package in 8.851s
我尝试过旧版本的 node.js,但要么它们太旧而无法使用新的 npm,要么它们太新而无法使用生成器。 任何帮助将不胜感激。谢谢!
【问题讨论】:
标签: powershell sharepoint visual-studio-code version