error on macos: npm run cross
Author: HuakunShenCreated Mar 23, 2025Updated Mar 24, 2025
❯ npm run cross
> [email protected] cross
> npm run cross-build -- --release
> [email protected] cross-build
> tsc &&cross build --message-format=json-render-diagnostics > cross.log --release
[cross] warning: `cross` does not provide a Docker image for target aarch64-apple-darwin, specify a custom image in `Cross.toml`.
[cross] note: Falling back to `cargo` on the host.
Finished `release` profile [optimized] target(s) in 0.01s
> [email protected] postcross-build
> neon dist -m /target < cross.log
error: ENOENT: no such file or directory, copyfile '/Users/hk/Desktop/dust/target/../Users/hk/Desktop/dust/target/release/libdust.dylib' -> 'index.node'Source: neon-bindings/neon