-
Notifications
You must be signed in to change notification settings - Fork 37
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
Windows Support not working #13
Comments
@StephaneMartignier I am experiencing the exact same error. It worked the first time I used it, about a week ago, but it has been failing the whole of this week. Uninstalled and re-installed it several times to no luck! |
@StephaneMartignier After carefully looking at the code, I noticed that the code on line number 66 of the index.js could potentially be the cause of the error. Here is the reason: If you run This will fail on windows because To resolve this potential bug for windows users, the code on line 66 can be refactored to something like below:
Note: I have not tested this code but I believe it should be able to fix the issue! Let me know what you think about this! :) |
Fixes Issue vkarpov15#13
I have submitted a pull request for this issue. See Pull request #14 |
I also think that your pr will solve the issue. Also, in the documentation for the --dbpath option it's written "dbPath" in the example command. It's should be "dbpath" |
Update index.js to fix Windows Support not working issue #13
Merged @chaiwa-berian 's PR and released 0.3.2 👍 |
Hi,
So trying to use multi-document in MongoDB I found that I need replicat-set and then I find your npm pacakge and I was like "that's perferct :)"
I run the command to install globally and it's seem good. Then I try to run "run-rs -v 4.0.0" but the command failed with the following error :
My guess will be that there is an error in the command to create the folder for the database?
Or am I doing something wrong?
I have version 0.3.0
Thanks in advance
The text was updated successfully, but these errors were encountered: