Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG : Bcrypt library linkage breaking in dev #55

Open
bottercode opened this issue May 2, 2023 · 0 comments
Open

BUG : Bcrypt library linkage breaking in dev #55

bottercode opened this issue May 2, 2023 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@bottercode
Copy link
Owner

Describe the bug
node:internal/modules/cjs/loader:1280 server | return process.dlopen(module, path.toNamespacedPath(filename)); server | ^ server | server | Error: Error loading shared library /app/node_modules/bcrypt/lib/binding/napi-v3/bcrypt_lib.node: Exec format error server | at Object.Module._extensions..node (node:internal/modules/cjs/loader:1280:18) server | at Module.load (node:internal/modules/cjs/loader:1074:32) server | at Function.Module._load (node:internal/modules/cjs/loader:909:12) server | at Module.require (node:internal/modules/cjs/loader:1098:19) server | at require (node:internal/modules/cjs/helpers:108:18) server | at Object.<anonymous> (/app/node_modules/bcrypt/bcrypt.js:6:16) server | at Module._compile (node:internal/modules/cjs/loader:1196:14) server | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1250:10) server | at Module.load (node:internal/modules/cjs/loader:1074:32) server | at Function.Module._load (node:internal/modules/cjs/loader:909:12) { server | code: 'ERR_DLOPEN_FAILED'

when running docker-compose up. Server crashes

To Reproduce
Steps to reproduce the behavior:

  1. Go to terminal
  2. Type docker-compose up
  3. See error
@bottercode bottercode added bug Something isn't working help wanted Extra attention is needed good first issue Good for newcomers labels May 2, 2023
@manavsiddharthgupta manavsiddharthgupta removed the help wanted Extra attention is needed label May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants