Closed wavewa closed 2 years ago
Buongiorno @wavewa , prova a riscaricare e ad eseguire la build.
Grazie @damikael, ora esegue con successo la build anche se ho dovuto lanciare il comando con l'arg che non è aggiornato nel README.md: docker build -t spid-saml-check --build-arg EXPOSE_HTTPS_PORT=443 .
Buongiorno, eseguendo il build del master o della versione 1.8.2 (docker build -t spid-saml-check .) ho il seguente errore:
SOLINK_MODULE(target) Release/obj.target/integer.node COPY Release/integer.node COPY ../build/integer.node TOUCH Release/obj.target/place_resulting_binary.stamp make: Leaving directory '/spid-saml-check/spid-validator/server/node_modules/integer/build' Traceback (most recent call last): File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 50, in <module> sys.exit(gyp.script_main()) File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 554, in script_main return main(sys.argv[1:]) File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 547, in main return gyp_main(args) File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 532, in gyp_main generator.GenerateOutput(flat_list, targets, data, params) File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 2215, in GenerateOutput part_of_all=qualified_target in needed_targets) File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 794, in Write extra_mac_bundle_resources, part_of_all) File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 978, in WriteActions part_of_all=part_of_all, command=name) File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 1724, in WriteDoCmd force = True) File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 1779, in WriteMakeRule cmddigest = hashlib.sha1(command if command else self.target).hexdigest() TypeError: Unicode-objects must be encoded before hashing