Skip to content
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

Fixing installing starter Project #31

Open
zchebil opened this issue Apr 14, 2020 · 0 comments
Open

Fixing installing starter Project #31

zchebil opened this issue Apr 14, 2020 · 0 comments

Comments

@zchebil
Copy link

zchebil commented Apr 14, 2020

I had some difficulties installing the repository but I solved these issues and want to share with you how to fix them

//first 👍 git clone the repository then git clone it and fix some issues

git clone https://github.com/StephenGrider/Lyrical-GraphQL
cd Lyrical-GraphQL
npm i
npm audit fix
npm audit fix --force

npm install -g [email protected]
npm install --save-dev [email protected]

//inside the file server.js put your mongodb URI that you get from mongoDB site
//copy your Very OWN MONGO_URI the one below is not real

const MONGO_URI = 'mongodb+srv://:@clust0-l1g02.mongodb.net/test';

//then add {useUnifiedTopology: true, useNewUrlParser: true}

mongoose.connect(MONGO_URI, {
useUnifiedTopology: true,
useNewUrlParser: true,
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant