Closed anvlkv closed 4 months ago
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 webpack@2.2.0 npm install --save-dev webpack@2.2.0
//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, });
Hi! Thanks for the Udemy course. There's problem with version of package.