Tell us what’s happening:
Why i am getting node module error ?
var mongoose = require(‘mongoose’);
let Person;
const mySecret = process.env[‘MONGO_URI’]
mongoose.connect(mySecret,{ useNewUrlParser: true});
Your code so far
Your browser information:
User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:97.0) Gecko/20100101 Firefox/97.0
Challenge: Install and Set Up Mongoose
Link to the challenge: