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

Version mismatch 'pasport', cannot find 'express', problem with 'bcrypt' #107

Open
alinzh opened this issue Nov 30, 2023 · 0 comments
Open
Labels
bug Something isn't working docker Pull requests that update Docker code

Comments

@alinzh
Copy link

alinzh commented Nov 30, 2023

  1. When I run docker I get an error '[email protected] does not satisfy [email protected]'.
    After changing to the 0.5.2 version the error disappeared.

  2. I also received an error 'Error: Cannot find module 'express'' in the /app/index.js. I'm sure 'express' is listed in package.json.

  3. Before the container was built, I received an error with the bcrypt build. I specified the 5.0.1 version - the error went away.
    But when running after the build was completed, I received an error: 'Error: Error loading shared library /app/node_modules/bcrypt/lib/binding/napi-v3/bcrypt_lib.node: Exec format error'.

All errors above relate to building using docker compose.

@blokhin blokhin added bug Something isn't working docker Pull requests that update Docker code labels Nov 30, 2023
@blokhin blokhin changed the title Version mismatch 'pasport', cannot find 'express', problem with 'bcrypt'. Version mismatch 'pasport', cannot find 'express', problem with 'bcrypt' Nov 30, 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 docker Pull requests that update Docker code
Projects
None yet
Development

No branches or pull requests

2 participants