lotus-1 / FAC-Rating

Week 6 database project by Ahlam & Nareman
0 stars 1 forks source link

Server is not running #17

Open Jasmineb2011 opened 5 years ago

Jasmineb2011 commented 5 years ago

I ran the server in the command line and this is what I got:

/home/jasmine/Lotus/week-6/codeReview/FAC-Rating/src/database/db_connection.js:11
if (!DB_URL) throw new Error("Enviroment variable DB_URL must be set");
             ^

Error: Enviroment variable DB_URL must be set
    at Object.<anonymous> (/home/jasmine/Lotus/week-6/codeReview/FAC-Rating/src/database/db_connection.js:11:20)
    at Module._compile (internal/modules/cjs/loader.js:799:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:810:10)
    at Module.load (internal/modules/cjs/loader.js:666:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:606:12)
    at Function.Module._load (internal/modules/cjs/loader.js:598:3)
    at Module.require (internal/modules/cjs/loader.js:705:19)
    at require (internal/modules/cjs/helpers.js:14:16)
    at Object.<anonymous> (/home/jasmine/Lotus/week-6/codeReview/FAC-Rating/src/queries/getUserData.js:2:22)
    at Module._compile (internal/modules/cjs/loader.js:799:30)
[nodemon] app crashed - waiting for file changes before starting...

Please fix this issue...

NaremanPro commented 5 years ago

dear Jasmine, we have our server running in our computers you have to install nodemon in order to run the server :wink: