Install and Set Up Mongoose - error with special character

Hi, I’m tryin to connect to mongodb atlas but it says there are unescaped special characters in my password even though I escaped them. For example my password is “pas$word” and is escape it as pas%24word".

const mongoose = require('mongoose');
mongoose.connect(process.env.MONGO_URI,{useNewUrlParser: true});

NVM it was working, I just mixed up warnings in my terminal with errors.