【问题标题】:Cannot find module gulp.js找不到模块 gulp.js
【发布时间】:2020-06-03 10:22:05
【问题描述】:

我从 TFS 签出了一个解决方案,当我尝试清理和构建解决方案时,我的控制台中出现此错误 - > 错误:找不到模块 'C:..\node_modules\gulp\bin\gulp .js'.

知道为什么找不到吗?

我已经尝试重新安装 npm 和 gulp(也是全局的)。

【问题讨论】:

    标签: reactjs sharepoint gulp sharepoint-online spfx


    【解决方案1】:

    试试这个:

    1. cd /usr/lib/node_modules/gulp/node_modules/v8flags

    2. sudo node fetch.js

    就是这样。最后一条指令将创建所需的文件。

    【讨论】:

      猜你喜欢
      • 2016-09-29
      • 1970-01-01
      • 2022-12-15
      • 2018-02-21
      • 2021-07-23
      相关资源
      最近更新 更多