New hana-client error whilst installing inside docker
See original GitHub issueQuestion 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:
- Created 4 years ago
- Comments:6
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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 😆)
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!