Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 5944

Error: libnode.so.64: cannot open shared object file: No such file or directory - Docker container

$
0
0

I created a docker container on ubuntu with following packages: default-jdk, node.js, curl, git,npm, python, make, gcc.

I'm trying to run this tool https://github.com/oasis-tcs/odata-openapi/tree/master/tools inside the container. All required dependencies (like node-gyp) have been installed and the tool itself can be installed using npm without any errors, just as described in the readme.

However, when trying to execute a command I always get this error:

Error: libnode.so.64: cannot open shared object file: No such file or directory        at Object.Module._extensions..node (internal/modules/cjs/loader.js:1025:18)        at Module.load (internal/modules/cjs/loader.js:815:32)        at Function.Module._load (internal/modules/cjs/loader.js:727:14)        at Module.require (internal/modules/cjs/loader.js:852:19)        at require (internal/modules/cjs/helpers.js:74:18)        at Object.<anonymous> (/odata-openapi/tools/node_modules/java/lib/nodeJavaBridge.js:21:16)        at Module._compile (internal/modules/cjs/loader.js:959:30)        at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)        at Module.load (internal/modules/cjs/loader.js:815:32)        at Function.Module._load (internal/modules/cjs/loader.js:727:14)

So far, I tried reinstalling node.js, node-gyp, installing packages like node-libs and different Ubuntu versions. The tool works fine on the host system.

Does anyone know how to handle this?


Viewing all articles
Browse latest Browse all 5944

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>