SAP Knowledge Base Article - Preview

3507928 - node.js connect and retrieve data

Symptom

The following error is seen after using 'npm install sqlanywhere':

gyp info it worked if it ends with ok

gyp info using node-gyp@10.2.0

gyp info using node@20.10.0 | win32 | x64

<additional information removed for clarity>

gyp: binding.gyp not found (cwd: <PATH>\sqlanywhere\node_modules\.bin) while trying to load binding.gyp

gyp ERR! configure error

gyp ERR! stack Error: `gyp` failed with exit code: 1

gyp ERR! stack at ChildProcess.<anonymous> (D:\next13\sqlanywhere\node_modules\node-gyp\lib\configure.js:317:18)

gyp ERR! stack at ChildProcess.emit (node:events:514:28)

gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:294:12)

gyp ERR! System Windows_NT 10.0.19045

gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "D:\\next13\\sqlanywhere\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure"

gyp ERR! cwd <PATH>\sqlanywhere\node_modules\.bin

gyp ERR! node -v v20.10.0


Read more...

Environment

  • SAP SQL Anywhere 17
  • Windows 10
  • Python version 3.12.5
  • VS2019 (16.11.33920.266)

Product

SAP SQL Anywhere 17.0

Keywords

node.js, binding.gyp , KBA , BC-SYB-SQA-SRV , SQL Anywhere - Server , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.