【问题标题】:[Node JS]How to install 'ffi' and 'ref' modules on windows 10[Node JS]如何在 windows 10 上安装 'ffi' 和 'ref' 模块
【发布时间】:2016-08-31 08:20:29
【问题描述】:

当我跑步时:

npm install ffi

npm install ref

我收到了this error

我安装了 node-gyp、python 2.7.11 和 Visual Studio 构建工具。

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

【问题讨论】:

    标签: node.js ref node-gyp node-ffi


    【解决方案1】:

    您需要通过运行以下命令来安装最新版本的 npm

    npm i -g npm@latest
    

    【讨论】:

      猜你喜欢
      • 2020-07-31
      • 1970-01-01
      • 2019-03-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-28
      • 2022-01-09
      相关资源
      最近更新 更多