When I use cargo build --release -p bytehound-cli to build bytehound-cli.
The installation crash at building webui.
Same issue with #79 , but no solution for me so I file a new issue.
> cargo build --release -p bytehound-cli
Error message:
Packaging & Optimizing...
Built in 18.17s
dist/index.html 363 B 1.00s
dist/index.8bed19df.js ⚠️ 1.22 MB 11.09s
dist/feather-sprite.be6e0e50.svg 42.52 KB 1.06s
dist/index.d35b3801.css 324.05 KB 218ms
dist/fontawesome-webfont.3981e506.eot 161.86 KB 77ms
dist/fontawesome-webfont.3981e506.eot 161.86 KB 94ms
dist/fontawesome-webfont.58488e7e.woff2 75.35 KB 95ms
dist/fontawesome-webfont.ed962b83.woff 95.73 KB 114ms
dist/fontawesome-webfont.0caf0c90.ttf 161.67 KB 78ms
dist/fontawesome-webfont.a9323ae9.svg 378.7 KB 1.29s
--- stderr
warning memoize-one@4.1.0: New custom equality api does not play well with all equality helpers. Please use v5.x
warning popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
warning reactdom@2.0.0: Package no longer supported. Contact support@npmjs.com for more info.
warning reactstrap > react-popper > popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
warning parcel > @parcel/config-default > @parcel/optimizer-htmlnano > svgo > stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
warning " > react-ace@9.5.0" has incorrect peer dependency "react@^0.13.0 || ^0.14.0 || ^15.0.1 || ^16.0.0 || ^17.0.0".
warning " > react-contextmenu@2.14.0" has incorrect peer dependency "react@^0.14.0 || ^15.0.0 || ^16.0.1".
warning " > react-dom@16.14.0" has incorrect peer dependency "react@^16.14.0".
warning " > react-table@6.11.5" has incorrect peer dependency "react@^16.x.x".
warning " > reactstrap@6.5.0" has incorrect peer dependency "react@^16.0.0".
warning "reactstrap > react-popper@0.10.4" has incorrect peer dependency "react@0.14.x || ^15.0.0 || ^16.0.0".
thread 'main' panicked at 'Failed to build WebUI; child process exited with error code None!', server-core/build.rs:154:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
If I execute ./node_modules/.bin/parcel build src/index.html --dist-dir dist alone in webui folder.
When I use
cargo build --release -p bytehound-cli
to build bytehound-cli. The installation crash at building webui. Same issue with #79 , but no solution for me so I file a new issue.If I execute
./node_modules/.bin/parcel build src/index.html --dist-dir dist
alone in webui folder.The following is my environment.