【问题标题】:What is the solution for Error: Cannot find module 'yargs'错误的解决方案是什么:找不到模块'yargs'
【发布时间】:2021-03-16 02:10:25
【问题描述】:

执行了 ff 命令但仍然报错

使用管理员权限从 powershell 运行此命令: npm install --global --production windows-build-tools

命令: npm i yargs --save 纱线添加yargs

【问题讨论】:

    标签: yarnpkg yargs


    【解决方案1】:

    npm install --save @types/yargs

    这对我有用。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-08-31
      • 2020-04-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-09-15
      • 1970-01-01
      相关资源
      最近更新 更多