ncs-jss / hackncs-17

Official website Of NCS
http://hack-ncs.surge.sh/
3 stars 6 forks source link

config.js file is absent #8

Closed itaditya closed 7 years ago

itaditya commented 7 years ago

image

The console shows error at line 3 of server.js , because config.js is not present but is referenced there. Please fix it .

DEVAbhinav commented 7 years ago

Try by creating an empty config file in your local system.

DEVAbhinav commented 7 years ago

Its already mentioned in the git ignore.

itaditya commented 7 years ago

Still not working image

After I removed () after require , it shows new error related to sequelise , image

DEVAbhinav commented 7 years ago

Try coping this in dbConfig file `module.exports= function() { return { dbName : '', //a local database name dbUserName : '', //your mysql username @ local machine dbPassword : '*****', //your mysql password @local machine host : 'localhost' } } Tell me if this works

DEVAbhinav commented 7 years ago

Have your tried the solution mentioned in above comment? @itaditya

itaditya commented 7 years ago

Got this error https://cloud.githubusercontent.com/assets/15871340/22307633/cbb57f88-e369-11e6-92a8-186d05c4b3ff.png

DEVAbhinav commented 7 years ago

I think this issue should be closed