Skip to content

Instantly share code, notes, and snippets.

@dwelch2344
Last active October 1, 2023 20:11
Show Gist options
  • Save dwelch2344/5333859bd4b5c7f1d6e7d615158172b2 to your computer and use it in GitHub Desktop.
Save dwelch2344/5333859bd4b5c7f1d6e7d615158172b2 to your computer and use it in GitHub Desktop.
Is NX 16 broken or is it just me?
→ mkdir -p /tmp/nx_darwin
cd /tmp/nx_darwin
npm i @nx/nx-darwin-arm64@16.8.0
chmod a+x node_modules/@nx/nx-darwin-arm64/nx.darwin-arm64.node
node_modules/@nx/nx-darwin-arm64/nx.darwin-arm64.node
added 1 package in 1s
zsh: exec format error: node_modules/@nx/nx-darwin-arm64/nx.darwin-arm64.node
@dwelch2344
Copy link
Author

This is what I'm seeing when I try to report and diagnose

→ npx nx report          
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Error { kind: InvalidData, message: "stream did not contain valid UTF-8" }', packages/nx/src/native/plugins/js/ts_import_locators.rs:450:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment