Boa noite , galera!
Tenho uma Restful nodeJs API conectado com um MongoDB que funciona normalmente local.
Porém, ao realizar o deploy no site da umbler, retorno o erro 503 no site e não consigo utiliza-la.
Poderiam me ajudar por favor ? É urgente!!
Erro:
Sep 12 18:38:49 npm ERR! /usr/src/app/.npm/_logs/2020-09-12T21_38_49_176Z-debug.log
Sep 12 18:38:49 npm ERR! A complete log of this run can be found in:
Sep 12 18:38:49
Sep 12 18:38:49 npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Sep 12 18:38:49 npm ERR! Failed at the api@1.0.0 start script.
Sep 12 18:38:49 npm ERR!
Sep 12 18:38:49 npm ERR! Exit status 1
Sep 12 18:38:49 npm ERR! api@1.0.0 start: node server
Sep 12 18:38:49 npm ERR! errno 1
Sep 12 18:38:49 npm ERR! code ELIFECYCLE
Sep 12 18:38:49 at Function.Module._load (internal/modules/cjs/loader.js:585:3)
Sep 12 18:38:49 at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
Sep 12 18:38:49 at Module.load (internal/modules/cjs/loader.js:653:32)
Sep 12 18:38:49 at Object.Module._extensions…js (internal/modules/cjs/loader.js:789:10)
Sep 12 18:38:49 at Module._compile (internal/modules/cjs/loader.js:778:30)
Sep 12 18:38:49 at Object. (/usr/src/app/app.js:3:16)
Sep 12 18:38:49 at require (internal/modules/cjs/helpers.js:25:18)
Sep 12 18:38:49 at Module.require (internal/modules/cjs/loader.js:692:17)
Sep 12 18:38:49 at Function.Module._load (internal/modules/cjs/loader.js:562:25)
Sep 12 18:38:49 at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
Sep 12 18:38:49 Error: Cannot find module ‘morgan’
Sep 12 18:38:49
Sep 12 18:38:49 ^
Sep 12 18:38:49 throw err;
Sep 12 18:38:49 internal/modules/cjs/loader.js:638
Sep 12 18:38:48
Sep 12 18:38:48 > node server