SEI-ATL / UNIT_2

This repo is for all things Unit 2
0 stars 3 forks source link

Friday, November 20, 2020 #7

Closed romebell closed 3 years ago

romebell commented 3 years ago

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

maddevred commented 3 years ago

@romebell Screenshot from 2020-11-20 16-10-43 Screenshot from 2020-11-20 16-10-56

maddevred commented 3 years ago

@romebell restarted my terminal Screenshot from 2020-11-20 16-22-46

maddevred commented 3 years ago

@romebell could you go back over what to do when you see this now that i got my server running? Screenshot from 2020-11-20 16-29-41

romebell commented 3 years ago

@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');
...
...
...