node-oracledb icon indicating copy to clipboard operation
node-oracledb copied to clipboard

Can't install it on Fedora 23

Open jradesenv opened this issue 10 years ago • 6 comments

I was using it in Windows 8.1 and Ubuntu with success. Now i'm trying to use it in Fedora 23 but can't get it to install.

I'm following the instructions for .zip: https://github.com/oracle/node-oracledb/blob/master/INSTALL.md#instzip

Hope anyone will help me. Thanks.

see below my npm-debug.log in attachment (as .txt) npm-debug.txt

jradesenv avatar Apr 19 '16 19:04 jradesenv

What's the first error in the log? Did you try installing node-oracledb just by itselft?

cjbj avatar Apr 19 '16 23:04 cjbj

Yeah. Tried it again just now. I did export LD_LIBRARY_PATH, OCI_LIB_DIR and OCI_INC_DIR, and then i run npm install oracledb. This is the new npm-debug.log in attachment

npm-debug.txt

jradesenv avatar Apr 20 '16 12:04 jradesenv

Did you check the first error? It looks the same "Unsupported". fsevents seems to be documented as OS X only.

cjbj avatar Apr 20 '16 12:04 cjbj

I got that unsupported in windows and ubuntu too but everything went fine

jradesenv avatar Apr 20 '16 12:04 jradesenv

could it be a problem with node-gyp or something?

jradesenv avatar Apr 20 '16 12:04 jradesenv

Finally the error is gone. Just installed gcc and gcc-c++ and now its working!!!

It wasn't an error with oracledb but with nodegyp.

Thankyou

jradesenv avatar Apr 20 '16 14:04 jradesenv