OpenUpSA / hospital-finder

Find good hospitals near you
http://hospitals.code4sa.org
3 stars 6 forks source link

Issues with current deployment on dokku5 #48

Open jbothma opened 4 years ago

jbothma commented 4 years ago
buntu@dokku5:~$ dokku ps:start hospitals
-----> Releasing hospitals (dokku/hospitals:latest)...
-----> Deploying hospitals (dokku/hospitals:latest)...
-----> Attempting to run scripts.dokku.predeploy from app.json (if defined)
-----> App Procfile file found (/home/dokku/hospitals/DOKKU_PROCFILE)
-----> DOKKU_SCALE file found (/home/dokku/hospitals/DOKKU_SCALE)
=====> web=1
-----> Attempting pre-flight checks
       For more efficient zero downtime deployments, create a file CHECKS.
       See http://dokku.viewdocs.io/dokku/deployment/zero-downtime-deploys/ for examples
       CHECKS file not found in container: Running simple container check...
-----> Waiting for 10 seconds ...
7c3d2087a16f951b8bcbcd174a27076fb259184aa6b5eb06f4505ccbd1890a17
App container failed to start!!
=====> hospitals web container output:
       > express@0.0.0 start /app
       > node ./bin/www
       /app/node_modules/google-spreadsheet/node_modules/xml2js/node_modules/util.promisify/implementation.js:9
        throw new TypeError('util.promisify requires a true ES5 environment');
              ^
       TypeError: util.promisify requires a true ES5 environment
           at Object.<anonymous> (/app/node_modules/google-spreadsheet/node_modules/xml2js/node_modules/util.promisify/implementation.js:9:8)
           at Module._compile (module.js:456:26)
           at Object.Module._extensions..js (module.js:474:10)
           at Module.load (module.js:356:32)
           at Function.Module._load (module.js:312:12)
           at Function.cls_wrapMethod [as _load] (/app/node_modules/newrelic/lib/shimmer.js:257:38)
           at Module.require (module.js:364:17)
           at require (module.js:380:17)
           at Object.<anonymous> (/app/node_modules/google-spreadsheet/node_modules/xml2js/node_modules/util.promisify/index.js:6:22)
           at Module._compile (module.js:456:26)
       npm ERR! Linux 3.13.0-170-generic
       npm ERR! argv "/app/.heroku/node/bin/node" "/app/.heroku/node/bin/npm" "start"
       npm ERR! node v0.10.48
       npm ERR! npm  v2.15.1
       npm ERR! code ELIFECYCLE
       npm ERR! express@0.0.0 start: `node ./bin/www`
       npm ERR! Exit status 8
       npm ERR! 
       npm ERR! Failed at the express@0.0.0 start script 'node ./bin/www'.
       npm ERR! This is most likely a problem with the express package,
       npm ERR! not with npm itself.
       npm ERR! Tell the author that this fails on your system:
       npm ERR!     node ./bin/www
       npm ERR! You can get information on how to open an issue for this project with:
       npm ERR!     npm bugs express
       npm ERR! Or if that isn't available, you can get their info via:
       npm ERR! 
       npm ERR!     npm owner ls express
       npm ERR! There is likely additional logging output above.
       npm ERR! Please include the following file with any support request:
       npm ERR!     /app/npm-debug.log
       > express@0.0.0 start /app