Kaixhin / Kaixhin/FGLab

how to specify mongodb instance, error starting FGLab

Open
#27 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
226
Forks
34
PR merge metrics
No merged PRs in 30d

Description

Hi and thanks for FGLab,
I was wondering how exactly to start FGLab?
I've followed the steps of installation but when I try to start the lab I get the following errors:
```
> FGLab@0.7.6 start /home/user/FGLab
> node lab.js

Error: No MongoDB instance specified
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! FGLab@0.7.6 start: `node lab.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the FGLab@0.7.6 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/user/.npm/_logs/2019-02-13T19_29_46_962Z-debug.log

```
Also how do you specify if your `db` is in a different directory than the working one?

Contributor guide

Open the contributing guide

Research direction

Start with lab.js and the npm start script, then trace how startup obtains the MongoDB instance. Determine how an instance or a database directory outside the working directory is specified; done means the supported startup path is clear and the reported error is resolved or documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
mongodb, node.js
Domain
database
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.