-
Notifications
You must be signed in to change notification settings - Fork 21
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 10 MongoDB Error 2 #28
Comments
Hi! @bcf3ah -- kind of amazing that it works at all! We are using |
The mongo-prebuilt package was also not available on the Raspberry Pi (arm-based CPU) so I installed a separate Mongo package for arm and modified the MONGO_PORT and MONGO_URL parameters to point to my Mongo install. Not ideal because I have to do this for each project but it works. I posted a more complete description of the steps I took here. Thanks to @tmesday for a great project. |
Hi @tmeasday nope I haven't checked it out further. I was able to link it to MongoLab instead, Amazing project though, and I thank you for all the work you put into it! |
So.. No solution? I'm having the same issue with win10 right now. Although using an existing MongoDB installation as @bcf3ah pointed out works just fine. |
The solution for me was to install Mongo separately and point create-graphql-server at it. |
Yeah it works fine that way, much appreciated |
Perhaps we should add a section to the readme about this, maybe point the error message at it? I haven't really made much attempt to make this work on anything but a mac at this stage. PS it looks like we should also update the create script to not use |
I got the same error running Bash (Ubuntu) on Windows 10 and got it working the way @rgstephens described it.
|
Also not working for me on Windows 10 but just need to run Mongo yourself, as follows:
SET MONGO_URL=mongodb://localhost:27017&&yarn start Then the project works as-advertised :) If you set a password or a different port when you run mongo, just correct the MONGO_URL above to reflect that. |
@Aadmaa send us a PR to https://github.com/tmeasday/create-graphql-server/blob/master/README.md? 🙇 |
Will do @tmeasday |
Hello! After installing CGS and all its dependencies on Windows 10, I immediately get "Error Code 2: MongoDB was started with erroneous or incompatible command line options" upon startup. Wondering if other Windows 10 users are having the same issue. For reference, here is my debug log:
Thanks!
The text was updated successfully, but these errors were encountered: