【问题标题】:npm ERR! oracledb ERR! NJS-067: a pre-built node-oracledb binary was not found for darwin arm64npm 错误! oracledb 错误! NJS-067:没有为 darwin arm64 找到预构建的 node-oracledb 二进制文件
【发布时间】:2023-03-31 05:41:01
【问题描述】:

我有这个错误

npm ERR! path /Users/honor/Documents/mycompany/node_modules/oracledb
npm ERR! command failed
npm ERR! command sh -c node package/install.js
npm ERR! oracledb ERR! NJS-067: a pre-built node-oracledb binary was not found for darwin arm64
npm ERR! oracledb ERR! Try compiling node-oracledb source code using https://oracle.github.io/node-oracledb/INSTALL.html#github

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/honor/.npm/_logs/2021-11-19T09_09_49_590Z-debug.log

我的环境是 节点 v14.18.1 npm v6.14.15 "oracledb": "^4.2.0", macbook pro 2020 平方米

【问题讨论】:

标签: node.js npm node-oracledb


【解决方案1】:

我是从二进制代码安装的,它对我有用 (这取决于您的 oracledb 版本)

"oracledb": "https://github.com/oracle/node-oracledb/releases/download/v4.2.0/oracledb-src-4.2.0.tgz"

【讨论】:

  • 使用最新版本。当前版本是 5.3
猜你喜欢
  • 2022-12-19
  • 2021-11-21
  • 2018-11-14
  • 1970-01-01
  • 2019-01-13
  • 2020-05-18
  • 2018-10-03
  • 2017-05-30
  • 2015-08-23
相关资源
最近更新 更多