Open shockValue666 opened 2 years ago
even though i run chmod +x scripts/metaplex-token-metadata-test-client on terminal, i still get the following error when i try to start_dev.sh:
/Users/xxx/Desktop/moreRaffles/draffle/scripts/metaplex-token-metadata-test-client: cannot execute binary file
You need to build the binary for mac, it is extremely annoying but unfortunately the binary isn't cross platform
You ok thnx i fixed it
Would someone mind sharing how to build the binary for mac? The docs say to run cargo build --release
but this has no effect, still cannot execute metaplex-token-metadata-test-client on macOS for me
EDIT:
I realized what the docs meant was that you need to clone metaplex-program-library, cd into the token-metadata
directory, and within there run cargo build --release
. The executable version will then be inside token-metadata/target/release
.
Copy the new binary to draffle/scripts/
.
even though i run chmod +x scripts/metaplex-token-metadata-test-client on terminal, i still get the following error when i try to start_dev.sh:
/Users/xxx/Desktop/moreRaffles/draffle/scripts/metaplex-token-metadata-test-client: cannot execute binary file