davevs / dvxte

Damn Vulnerable eXtensive Training Environment
MIT License
102 stars 38 forks source link

fix juiceshop #21

Closed davevs closed 2 years ago

davevs commented 2 years ago

stacktrace in docker:

info: All dependencies in ./package.json are satisfied (OK) (node:301) UnhandledPromiseRejectionWarning: Error: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version CXXABI_1.3.9' not found (required by /var/www/html/juiceshop/node_modules/libxmljs2/build/Release/xmljs.node) at Object.Module._extensions..node (internal/modules/cjs/loader.js:1144:18) at Module.load (internal/modules/cjs/loader.js:950:32) at Function.Module._load (internal/modules/cjs/loader.js:790:12) at Module.require (internal/modules/cjs/loader.js:974:19) at require (internal/modules/cjs/helpers.js:101:18) at bindings (/var/www/html/juiceshop/node_modules/bindings/bindings.js:112:48) at Object.<anonymous> (/var/www/html/juiceshop/node_modules/libxmljs2/lib/bindings.js:1:37) at Module._compile (internal/modules/cjs/loader.js:1085:14) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10) at Module.load (internal/modules/cjs/loader.js:950:32) at Function.Module._load (internal/modules/cjs/loader.js:790:12) at Module.require (internal/modules/cjs/loader.js:974:19) at require (internal/modules/cjs/helpers.js:101:18) at Object.<anonymous> (/var/www/html/juiceshop/node_modules/libxmljs2/index.js:4:18) at Module._compile (internal/modules/cjs/loader.js:1085:14) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10) (Usenode --trace-warnings ...to show where the warning was created) (node:301) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:301) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

davevs commented 2 years ago

fixed after moving to GCC6