skip to Main Content

Docker run fails "return process.dlopen(module, path.toNamespacedPath(filename));"

im trying to make a dockerfile and run my code into this container. im getting following error: node:internal/modules/cjs/loader:1187 return process.dlopen(module, path.toNamespacedPath(filename)); ^ Error: /node_modules/bcrypt/lib/binding/napi-v3/bcrypt_lib.node: invalid ELF header at Object.Module._extensions..node (node:internal/modules/cjs/loader:1187:18) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Module.require (node:internal/modules/cjs/loader:1005:19) at…

VIEW QUESTION

error: node_modules/bcrypto/build/Release/bcrypto.node: invalid ELF by npm start on debian server

Hallo, If I try to npm start I get this error: error: /home/kyrill/msh/backend/node_modules/bcrypto/build/Release/bcrypto.node: invalid ELF header /home/kyrill/msh/backend/node_modules/bcrypto/build/Release/bcrypto.node: invalid ELF header {"code":"ERR_DLOPEN_FAILED","stack":"Error: /home/kyrill/msh/backend/node_modules/bcrypto/build/Release/bcrypto.node: invalid ELF headern at load (/home/kyrill/msh/backend/node_modules/loady/lib/loady.js:109:11)n at Object.<anonymous> (/home/kyrill/msh/backend/node_modules/bcrypto/lib/native/binding.js:11:33)n at Module._compile (node:internal/modules/cjs/loader:1092:14)n at Object.Module._extensions..js (node:internal/modules/cjs/loader:1121:10)n at Module.load (node:internal/modules/cjs/loader:972:32)n…

VIEW QUESTION
Back To Top
Search