Hi Sam,
I'm excited to try this out but I'm running into issues getting the ball rolling.
I installed the dependencies and I'm running the two docker images as shown at the bottom but I get errors running the app.
I tried running the install and it failed so I used force as shown below.
As shown I'm running this on a kali box whish is debian.
rootkali npm install --build-from-source
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/mongoose
npm ERR! mongoose@"^5.10.15" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer mongoose@"^4.1.12" from [email protected]
npm ERR! node_modules/mongoose-auto-increment
npm ERR! mongoose-auto-increment@"^5.0.1" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /root/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-07-04T04_31_33_779Z-debug.log
++++++++++++++++++++++++++++++
rootkali npm install --build-from-source --force
npm WARN using --force Recommended protections disabled.
npm WARN ERESOLVE overriding peer dependency
npm WARN Found: [email protected]
npm WARN node_modules/mongoose
npm WARN mongoose@"^5.10.15" from the root project
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer mongoose@"^4.1.12" from [email protected]
npm WARN node_modules/mongoose-auto-increment
npm WARN mongoose-auto-increment@"^5.0.1" from the root project
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated [email protected]: Deprecated due to CVE-2021-21366 resolved in 0.5.0
npm WARN deprecated [email protected]: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
npm WARN deprecated [email protected]: versions < v5.0.0 do not handle NUL in passwords properly
npm WARN deprecated [email protected]: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
b11272852501 mysql:5.7 "docker-entrypoint.s…" 10 minutes ago
972e42e83657 mongo:4.0.4 "docker-entrypoint.s…" 12 minutes ago**
rootkali npm run dvws
[email protected] dvws
cross-env NODE_ENV=development nodemon index.js
[nodemon] 2.0.9
[nodemon] to restart at any time, enter rs
[nodemon] watching path(s): .
[nodemon] watching extensions: js,mjs,json
[nodemon] starting node index.js
/root/tools/dvws-node/node_modules/bindings/bindings.js:99
throw err
^
Error: Could not locate the bindings file. Tried:
→ /root/tools/dvws-node/node_modules/libxmljs/build/xmljs.node
→ /root/tools/dvws-node/node_modules/libxmljs/build/Debug/xmljs.node
→ /root/tools/dvws-node/node_modules/libxmljs/build/Release/xmljs.node
→ /root/tools/dvws-node/node_modules/libxmljs/out/Debug/xmljs.node
→ /root/tools/dvws-node/node_modules/libxmljs/Debug/xmljs.node
→ /root/tools/dvws-node/node_modules/libxmljs/out/Release/xmljs.node
→ /root/tools/dvws-node/node_modules/libxmljs/Release/xmljs.node
→ /root/tools/dvws-node/node_modules/libxmljs/build/default/xmljs.node
→ /root/tools/dvws-node/node_modules/libxmljs/compiled/12.21.0/linux/x64/xmljs.node
at bindings (/root/tools/dvws-node/node_modules/bindings/bindings.js:96:9)
at Object. (/root/tools/dvws-node/node_modules/libxmljs/lib/bindings.js:1:37)
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 Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/root/tools/dvws-node/node_modules/libxmljs/index.js:4:16)
at Module._compile (internal/modules/cjs/loader.js:999:30) {
tries: [
'/root/tools/dvws-node/node_modules/libxmljs/build/xmljs.node',
'/root/tools/dvws-node/node_modules/libxmljs/build/Debug/xmljs.node',
'/root/tools/dvws-node/node_modules/libxmljs/build/Release/xmljs.node',
'/root/tools/dvws-node/node_modules/libxmljs/out/Debug/xmljs.node',
'/root/tools/dvws-node/node_modules/libxmljs/Debug/xmljs.node',
'/root/tools/dvws-node/node_modules/libxmljs/out/Release/xmljs.node',
'/root/tools/dvws-node/node_modules/libxmljs/Release/xmljs.node',
'/root/tools/dvws-node/node_modules/libxmljs/build/default/xmljs.node',
'/root/tools/dvws-node/node_modules/libxmljs/compiled/12.21.0/linux/x64/xmljs.node'
]
}
[nodemon] app crashed - waiting for file changes before starting...