gpt4 book ai didi

node.js - 错误! oracledb 错误! NJS-067 : a pre-built node-oracledb binary was not found for darwin arm64

转载 作者:行者123 更新时间:2023-12-01 23:10:24 28 4
gpt4 key购买 nike

我有这个错误

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

我的环境是 Node v14.18.1npm v6.14.15"oracledb": "^4.2.0",macbook pro 2020 m1

最佳答案

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

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

关于node.js - 错误! oracledb 错误! NJS-067 : a pre-built node-oracledb binary was not found for darwin arm64,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70032435/

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