italia / spid-saml-check

Tool di verifica implementazione SPID SAML
European Union Public License 1.2
71 stars 59 forks source link

errore con versione docker :latest (c6f184134391fdafde0ffe255eacebab08102c8f51f568c8b843d77c84f8e571) #230

Closed pomarc closed 10 months ago

pomarc commented 1 year ago

anche l'ultima versione italia/spid-saml-check:latest (c6f184134391fdafde0ffe255eacebab08102c8f51f568c8b843d77c84f8e571) va in errore

mentre la italia/spid-saml-check:1.9.2 funziona bene.

l'errore è quello riportato anche per versioni precedenti.

> spid-validator@1.0.0 start-prod /spid-saml-check/spid-validator
> node server/spid-validator.js

internal/modules/cjs/loader.js:818
  throw err;
  ^

Error: Cannot find module 'express'
Require stack:
- /spid-saml-check/spid-validator/server/spid-validator.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
    at Function.Module._load (internal/modules/cjs/loader.js:667:27)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (/spid-saml-check/spid-validator/server/spid-validator.js:2:17)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ '/spid-saml-check/spid-validator/server/spid-validator.js' ]
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! spid-validator@1.0.0 start-prod: `node server/spid-validator.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the spid-validator@1.0.0 start-prod 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/2022-09-27T16_04_54_919Z-debug.log
mbuferli commented 1 year ago

+1

frhack commented 1 year ago

me too

hello96 commented 1 year ago

+1

pzsette commented 1 year ago

+1

Nico769 commented 1 year ago

+1

piccinnigius commented 1 year ago

+1

Zhigalin commented 11 months ago

+1

damikael commented 10 months ago

Il problema è risolto con le ultime versioni