sqlanywhere / node-sqlanywhere

SAP SQL Anywhere Database Client for Node
Apache License 2.0
39 stars 36 forks source link

npm ERR! code 4294967295 #49

Open RichProsper opened 1 year ago

RichProsper commented 1 year ago

OS: Windows 11 Node: v18.12.1 npm install sqlanwhere results in:

screenshot

This is after I've already (https://github.com/Microsoft/nodejs-guidelines/blob/master/windows-environment.md#compiling-native-addon-modules):

  1. Installed node-gyp both globally and locally: npm install -g node-gyp and npm install node-gyp
  2. Installed Visual Studio 2017 Community (using the "Desktop development with C++" workload)
  3. Installed Python 2.7 and ran npm config set python python2.7
  4. Ran npm config set msvs_version 2017

Any assistance here would be greatly appreciated

TinoZg commented 1 year ago

I ran into similar issues. The problem is that driver currently supports node up to version 12.x, and according to the provided picture you are running node version 18.x.

There is work being done to update the driver to newer versions of node (mainly 14 and 16). We will have to wait a little longer.