gpt4 book ai didi

node.js - 无法运行任何 Gulp 命令

转载 作者:太空宇宙 更新时间:2023-11-04 03:01:53 24 4
gpt4 key购买 nike

我对 NodeJS 比较陌生,正在学习使用 Sharepoint 框架进行开发。它工作正常,突然开始抛出错误。

我的 NodeJS 版本是:V10.13.0

我的 gulp 版本是:CLI - 2.0.1 Local - 3.9.1

当我尝试使用gulpservegulpbundle时,出现以下错误:

Error: Your dev environment is running NodeJS version v10.13.0 which does not meet the requirements for running this tool. This tool requires a version of NodeJS that matches >=8.9.4 <9.0.0.......

有人可以帮我解决这个问题吗?

非常感谢,

最佳答案

我设法解决了这个问题。

对于那些可能从中受益的人:

将 @microsoft/generator-sharepoint 升级到最新版本后发生错误。卸载版本 1.7.0 并安装 1.6.0 后,一切开始按预期顺利进行。

谢谢

关于node.js - 无法运行任何 Gulp 命令,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53427697/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com