I'm trying to VMC push Calipso onto an instance of Micro Cloud Foundry that I have, and I'm getting thrown up by an error saying
Unable to load shared library /var/vcap/data/dea/apps/{App-Name&ID}/app/node_modules/bcrypt/build/Release/bcrypt_lib.node
at Object..node (module.js:463:11)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)
at Module.require (module.js:357:17)
at require (module.js:368:17)
at bindings (/var/vcap/data/dea/apps/Apptain-0-cb7703ae25d61741a91f9a828959ea6e/app/node_modules/bcrypt/node_modules/bindings/bindings.js:74:15)
at Object.<anonymous> (/var/vcap/data/dea/apps/{App-Name&ID}/app/node_modules/bcrypt/bcrypt.js:1:96)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
at Module.load (module.js:351:31)
Line 74 of bcrypt/node_modules/bindings/bindings.js is
var b = require(n)
but it's odd because the whole block is
var tries = []
, i = 0
, l = opts.try.length
, n
for (; i<l; i++) {
n = join.apply(null, opts.try[i].map(function (p) {
return opts[p] || p
}))
tries.push(n)
try {
var b = require(n)
b.path = n
return b
} catch (e) {
if (!/not find/i.test(e.message)) {
throw e
}
}
}
so any exception should be getting caught and if necessary thrown farther down. I know I'm pretty far off the map, but any help anyone can offer would be appreciated. I can run local without issue, but start on MicroCloud fails.