question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

New hana-client error whilst installing inside docker

See original GitHub issue

Question about Hana-client inside Docker

You’re suggesting switching to @sap/hana-client, so I switched to that lib.


Packages installation is perfectly working on my computer with npm config set @sap:registry https://npm.sap.com

However inside a docker container I have the following Fatal error occuring during install : Failed to load DBCAPI. during node checkbuild.js

Full Stack trace :

FATAL ERROR: A fatal error occurred during install.
Failed to load DBCAPI.
    at ProcessTermError.ExtendableBuiltin (/opt/yarn-v1.13.0/lib/cli.js:727:66)
    at ProcessTermError.MessageError (/opt/yarn-v1.13.0/lib/cli.js:756:123)
    at new ProcessTermError (/opt/yarn-v1.13.0/lib/cli.js:796:113)
    at ChildProcess.<anonymous> (/opt/yarn-v1.13.0/lib/cli.js:25795:17)
    at ChildProcess.emit (events.js:189:13)
    at maybeClose (internal/child_process.js:970:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)

error /usr/src/app/node_modules/@sap/hana-client: Command failed.
Exit code: 255
Command: node checkbuild.js
Arguments: 
Directory: /usr/src/app/node_modules/@sap/hana-client
Output:
FATAL ERROR: A fatal error occurred during install.
Failed to load DBCAPI.

Maybe docker container is missing some rights or some configuration that my computer has ?

I am a little new to this and I did not find any solution online. Since new repository is private, I am trying to search some solution here.

Thank you for reading this issue.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6

github_iconTop GitHub Comments

2reactions
alumnicommented, Apr 21, 2020

Is there a repo URL for @sap/hana-client? Issues for it should be reported there (I would like to report one too, but I don’t know where - typical @SAP 😆)

1reaction
BenoitRanquecommented, Mar 14, 2020

No, thank You! Your comment prompted my to try something else: moved from node alpine to node slim. Worked a charm! Turns out you don’t need the python lib!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installing SAP HANA, express edition with Docker
1. Download and install the appropriate Docker Edition for your system. Visit the Docker Community Edition or Docker Enterprise Edition lists for more...
Read more >
SAP Hana express edition, docker container start fails
Installing SAP HANA, express edition Server + Apps, with Docker: Getting stuck on Step 10 - starting SAP Hana container. After executing "studio...
Read more >
SAP HANA Express Edition in Docker (End to End Example)
Our Docker installation seems to be working fine. Now let's continue to the fun part – getting up and running the HXE container....
Read more >
Tutorial :: Debezium Documentation
This tutorial uses Docker and the Debezium container images to run the ZooKeeper, Kafka, Debezium, and MySQL services. Running each service in a...
Read more >
Tableau Server in a Container - Troubleshooting
Debugging failing installation · Prepare a fresh Tableau Server in a Container deployment. · Configure the container to run with the TSM_ONLY=1 environment ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found