Fails to run on Debian Buster (CURL_OPENSSL_3 not found)
See original GitHub issueDebian Buster, the latest release of Debian GNU/Linux was released on 4th of July 2019.
I upgraded my developer virtual machine to Buster and the mongodb-memory-server
hangs.
To test it out I ran this script:
const { MongoMemoryServer } = require('mongodb-memory-server')
async function main () {
try {
console.log('Start')
const mongod = new MongoMemoryServer()
console.log('Server created...')
const uri = await mongod.getConnectionString()
console.log('1')
const port = await mongod.getPort()
console.log('2')
const dbPath = await mongod.getDbPath()
console.log('3')
const dbName = await mongod.getDbName()
console.log('4')
// some code
// ... where you may use `uri` for as a connection string for mongodb or mongoose
// you may check instance status, after you got `uri` it must be `true`
console.log('Getting Instance Info...')
console.dir(mongod.getInstanceInfo())
mongod.getInstanceInfo() // return Object with instance data
// you may stop mongod manually
await mongod.stop()
// when mongod killed, it's running status should be `false`
console.dir(mongod.getInstanceInfo())
console.log('End')
} catch (err) {
console.error(err)
}
}
main()
When running this script the console output displays:
Start
Server created...
After a few seconds the console prompt returns with no error output.
Am I missing something here?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:18 (4 by maintainers)
Top Results From Across the Web
CURL_OPENSSL_3 not found for gitlab runner and Debian ...
Hi, I just upgraded my server from Debian 9 (stretch) to 10 (buster). Now if I'm trying to run my shell executor I...
Read more >Version `CURL_OPENSSL_3' not found - Ask Ubuntu
I solved it removing my libcurl4-openssl-dev: sudo apt-get remove --auto-remove libcurl4-openssl-dev. And installing the previus version of ...
Read more >Version CURL_OPENSSL_3 not found when upgrading the ...
I have a Raspberry PI3 running Domoticz Version: 2020.1 (build 11835 compiled from the sources). The configuration of the Domoticz Version ...
Read more >Curl extension fails in Docker with error "CURL_OPENSSL_3 ...
try: sudo apt-get install libcurl3-openssl-dev.
Read more >How to fix “curl: command not found” Error on Debian 10
Let's start. Installation of Curl Utility on Debian 10. Curl can be installed from the official APT package repository of the Debian 10...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@grantcarthew I don’t know for you, but for me this is a major problem. Since debian 10 is now officially the ‘stable’ release and not having something like
mongodb-memory-server
supporting it is a bit of bummer. So, I will pin to version5.2.7
and just pass in the config:@nodkz this is obviously not a trivial fix. But the ‘4.0.3’ hard-coded version trick might come back biting your hand. It would be preferable to leave my patch in (since Debian 10 is the stable version) and let it fail with a meaningful message such as:
default version x.y.z not found. Please specify a version in the config
Life saver! Thanks @msanguineti
I’ve got it working now.
For anyone else looking for a temporary fix, I used my
package.json
file with the following config: