-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error parsing command line: unrecognised option '--fork' #207
Comments
@mborman I had the same issue. --fork is a documented feature for platforms that supports So, with mongodb-js/mongodb-prebuilt#25 and #204 I'm able to pass the tests. Let me know if it works for you too |
Hi @pibi is there any chance to merge it? I run into the same issue on windows. thank you. |
Hi all, October 11, this problem still happen 😆 |
…fail when spawning processes (cf: winfinit#25, mongodb-js#25 & mccormicka/Mockgoose#207)
Hello, I am not monitoring this project anymore, please resubmit it under mockgoose/mockgoose if this is still an issue with new 7.x release |
I am on a Windows 7 system trying to use Mockgoose with Jasmine / Karma in an AMD (requireJS) setup. I am a new-ish to mongoDB so this issue could very well be something wrong with my setup or some other misconfiguration but I am out of ideas and hoping you may be able to point me in the right direction...
I started off having the issue described in #204. I patched the Mockgoose source code by adding the dummy function to the start_server() call as descibed in that issue. That got me past that issue but then I started getting the following...
As you can see it is trying to start mongo on ever increasing port numbers. unsuccessfully every time.
To troubleshoot, I ran this command (found in the above output) directly at a prompt.
And got this error.
I am running the latest version of Mongo (3.2.5).
--fork
is clearly documented as a valid parameter. So I am confused as to what is going on... Grabbing at straws I tried running the command at a prompt without --fork. It did not cause an error but I also don't think it resolved the issue. I edited the source code to setopts.args.fork = false;
instead oftrue
. When I ran the unit tests that way Mockgoose did not resolve the promise frommockgoose(mongoose).then()
Out of ideas... Thanks for any help you may have.
The text was updated successfully, but these errors were encountered: