Meteor run server getting error: Could not locate the bindings file. [...]bcrypt[...]
Okay I found the bug:
The problem was the definition of the envrionment varibale buildir
in the Dockerfile
:ENV builddir /home/build
The build process for bcrypt
seems to use the same variable, and builds the files bcrypt_lib.node
and obj.target
in that directory. So they were missing in the right place.
node.js in docker - Could not locate the bindings file .../bcrypt_lib.node
Root cause of the problem was using co-bcrypt
. After removing it from the package.json
and replacing all the require statements with bcryptjs
, the error is gone.
Related Topics
How to Compile Glibc 32Bit on an X86_64 MAChine
Linux: How to Detect That Ftp File Upload Is Finished
Building a Simple (Hello-World-Esque) Example of Using Ld's Option -Rpath with $Origin
Merging Through Fuzzy Matching of Variables in R
How to Store the Output of a Git Command in a Variable
Fallocate() Command Equivalent in Os X
How to Return Spawned Process Exit Code in Expect Script
Linux Kernel: How to Capture a Key Press and Replace It with Another Key
How to Store One Billion Files on Ext4
How to Check Hz in the Terminal
Problems Installing R on Linux Centos 6.2
Linux: Run Cron Job in Foreground
Gdb Can Not Open Shared Object File
Shell Function to Tail a Log File for a Specific String for a Specific Time
Gdb Does Not Hit Any Breakpoints When I Run It from Inside Docker Container
Can't Get Private Key with Openssl (No Start Line:Pem_Lib.C:703:Expecting: Any Private Key)