0xProject/protocol

Unable to install with NPM or Yarn

LubomirKurpel opened this issue · 3 comments

When trying to install asset-swapper repo, either via NPM or Yarn, I end up on:

"response status 404 Not Found on https://github.com/0xProject/fast-abi/releases/download/0.0.2/node-v83-win32-x64.tar.gzneon ERR! spawn cargo ENOENT

Error: spawn cargo ENOENT"

Sadly, the error does not lie and there is nothing on the link really. How can I fix this?

ndbls commented

The fast-abi package tries to build its native component from source if there's no released binary for your platform. It is written in rust, and that spawn cargo ENOENT error is because you don't have the rust development tools in your $PATH required to build the package.

If you install rustc/cargo and put them in your $PATH, hopefully it will build for you.

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale commented

This issue has been automatically closed because no activity occured in 7 days after being marked as stale. If it's still relevant - feel free to reopen. Thank you for your contributions.