docker-livelessons-notes
docker-livelessons-notes copied to clipboard
User model missing from section 5-3
When trying to do "docker-compose up", the follow occurs:
api_1 | Error: Cannot find module './models/User'
api_1 | at Function.Module._resolveFilename (module.js:336:15)
api_1 | at Function.Module._load (module.js:278:25)
api_1 | at Module.require (module.js:365:17)
api_1 | at require (module.js:384:17)
api_1 | at Object.<anonymous> (/usr/src/app/server.js:5:12)
api_1 | at Module._compile (module.js:460:26)
api_1 | at Object.Module._extensions..js (module.js:478:10)
api_1 | at Module.load (module.js:355:32)
api_1 | at Function.Module._load (module.js:310:12)
api_1 | at Function.Module.runMain (module.js:501:10)
api_1 | at startup (node.js:129:16)
api_1 | at node.js:814:3