Closed romebell closed 3 years ago
@romebell
@romebell restarted my terminal
@romebell could you go back over what to do when you see this now that i got my server running?
@marjames98 Make sure that you have dotenv
installed by
npm i dotenv
Also, at the top of your index.js
file, you need to put
require('dotenv').config();
// other code below
const express = require('express');
...
...
...
Admin 👀 - [admin] is looking into it 👍 - [admin] Answer issue. Looks good. Code works.
Students 🚀 - [student] I get it! 😕 - [student] Still confused 😄 - [student] A simple error 🎉 - [student] My code now works
Admin/Students ❤️ - [student/admin] Love the topic or code snippet 👎 - [student/admin] Code didn't work