Closed christian-roggia closed 4 years ago
NOTE: actually only v1.4.2 works fine. v1.4.3 fails with the following error:
> hydra-login-consent-logout@0.0.0 start /usr/src/app
> node ./bin/www
internal/modules/cjs/loader.js:583
throw err;
^
Error: Cannot find module 'express'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> (/usr/src/app/app.js:1:77)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! hydra-login-consent-logout@0.0.0 start: `node ./bin/www`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the hydra-login-consent-logout@0.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-05-01T21_06_49_446Z-debug.log
Thank you, fixing now!
Fixed
Describe the bug
The latest version of oryd/hydra-login-consent-node available on docker hub is v1.4.3, the Helm chart of the example-idp instead is pointing to the version v1.4.6.
To Reproduce
Try to install the example-idp and watch it fail.