Is there a config file that was meant to be included by any chance? I figure I'll be placing my authentication code in it, but was wondering if you were aware of this crash.
Error
moonshotserver@1.0.0 dev D:\web_programming\Moonshot-master\server
nodemon index.js
[nodemon] 1.11.0
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `node index.js`
module.js:471
throw err;
^
Error: Cannot find module '../config'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (D:\web_programming\Moonshot-master\server\controllers
\authentication.js:3:16)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (D:\web_programming\Moonshot-master\server\router.js:1
:86)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
[nodemon] app crashed - waiting for file changes before starting...
Is there a config file that was meant to be included by any chance? I figure I'll be placing my authentication code in it, but was wondering if you were aware of this crash.
Error