【问题标题】:do i need to install mongodb-runner when installing parse even thought mongodb is already insstalled即使已经安装了mongodb,我在安装解析时是否需要安装mongodb-runner
【发布时间】:2019-09-15 20:42:22
【问题描述】:

我正在 linux vps 上安装解析服务器,我已经安装了 nodejs 和 mongo db,现在我正在关注这里写的 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: [ '' ] } }

【问题讨论】:

  • 没有。您可以设置 Parse Server 以连接到现有的 MongoDB。
  • @DaviMacêdo 非常感谢

标签: mongodb installation parse-server


【解决方案1】:

安装 mongodb 后无需安装 mongo-db runner 感谢@DaviMacedo

【讨论】:

    猜你喜欢
    • 2014-10-13
    • 2021-08-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-11-25
    相关资源
    最近更新 更多