即使 mongodb 已经安装,我是否需要在安装 parse 时安装 mongodb-runner
do i need to install mongodb-runner when installing parse even thought mongodb is already insstalled
我正在 linux vps 上安装解析服务器,我已经安装了 nodejs 和 mongo 数据库,现在我正在按照这里写的内容 https://github.com/parse-community/parse-server
当我尝试执行 $ mongodb-runner start
我有这个错误
◟ Starting a MongoDB deployment to test against...✔ Downloaded MongoDB 4.2.0
◠ Starting a MongoDB deployment to test against...mongodb-runner:bin:mongodb-r unner-worker.js Unexpected error. Exiting. { Error: Command failed: mongod --set Parameter enableTestCommands=1 --port 27017 --dbpath /home/admoon/.mongodb/data/ standalone --logpath /home/admoon/.mongodb/runner/standalone.log
mongod: error while loading shared libraries: libcurl.so.4: cannot open shared o bject file: No such file or directory
at ChildProcess.exithandler (child_process.js:294:12)
at ChildProcess.emit (events.js:198:13)
at maybeClose (internal/child_process.js:982:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
killed: false,
code: 127,
signal: null,
cmd:
'mongod --setParameter enableTestCommands=1 --port 27017 --dbpath /home/admoo n/.mongodb/data/standalone --logpath /home/admoon/.mongodb/runner/standalone.log ',
output:
{ stderr:
[ 'mongod: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory',
'' ],
stdout: [ '' ] } }
如果安装了 mongodb,则无需安装 mongo-db runner
感谢@DaviMacedo
我正在 linux vps 上安装解析服务器,我已经安装了 nodejs 和 mongo 数据库,现在我正在按照这里写的内容 https://github.com/parse-community/parse-server 当我尝试执行 $ mongodb-runner start 我有这个错误
◟ Starting a MongoDB deployment to test against...✔ Downloaded MongoDB 4.2.0
◠ Starting a MongoDB deployment to test against...mongodb-runner:bin:mongodb-r unner-worker.js Unexpected error. Exiting. { Error: Command failed: mongod --set Parameter enableTestCommands=1 --port 27017 --dbpath /home/admoon/.mongodb/data/ standalone --logpath /home/admoon/.mongodb/runner/standalone.log
mongod: error while loading shared libraries: libcurl.so.4: cannot open shared o bject file: No such file or directory
at ChildProcess.exithandler (child_process.js:294:12)
at ChildProcess.emit (events.js:198:13)
at maybeClose (internal/child_process.js:982:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
killed: false,
code: 127,
signal: null,
cmd:
'mongod --setParameter enableTestCommands=1 --port 27017 --dbpath /home/admoo n/.mongodb/data/standalone --logpath /home/admoon/.mongodb/runner/standalone.log ',
output:
{ stderr:
[ 'mongod: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory',
'' ],
stdout: [ '' ] } }
如果安装了 mongodb,则无需安装 mongo-db runner 感谢@DaviMacedo