cemremengu / fastify-oracle

Attaches an oracledb connection pool to a Fastify server instance.
Other
13 stars 11 forks source link

Error when installing via npm #29

Open gabirel1 opened 3 years ago

gabirel1 commented 3 years ago

Hi, I'm trying to install fastify-oracle on Windows10 using npm, but I keep getting errors.

oracledb ERR! NJS-067: a pre-built node-oracledb binary was not found for Node.js v12.18.3 (NODE_MODULE_VERSION=72) on win32 x64
oracledb ERR! Try compiling node-oracledb source code using https://oracle.github.io/node-oracledb/INSTALL.html#github
npm WARN my_new_api@1.0.0 No description
npm WARN my_new_api@1.0.0 No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 87
npm ERR! oracledb@3.1.2 install: `node package/install.js`
npm ERR! Exit status 87
npm ERR!
npm ERR! Failed at the oracledb@3.1.2 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

I believe that the package is not up to date (oracledb3.1.2 seems to be depreciated) It can also be my fault and I didn't see something when trying :)

jsumners commented 3 years ago

It's probably best to fork this project and update it yourself. Or see if you can get the oracledb team to fork it and maintain it. That would be ideal IMHO.