When I download and try to install ’ ipfs-copy-v1.0.0-darwin-amd64.tar.gz’ from GitHub I receive the following: ‘[ERROR] IPFS Copy requires (IC_CIDS, --cids) OR (IC_SOURCE_API_URL, --source-api-url) to be defined’
When I try to clone manually and compile I enter ‘make install’ in terminal and receive the following message:
export GO111MODULE=on
env CGO_ENABLED=0 go install -ldflags="-s -w" ./cmd/ipfs-copy/
env: go: No such file or directory
make: *** [install] Error 127
Which leaves me a bit stuck. Any help appreciated.
That’s the very guide I was following when I encountered the error. Unfortunately ‘ipfs-copy --help’ returns ‘zsh: command not found: ipfs-copy’, presumably since installation isn’t complete.
I believe I used:
go get -u github.com/INFURA/ipfs-copy
to install. But the second error you get says you don’t have go installed so that might not be the way.
it’s probably a good idea to install go anyway, I used:
brew install go
However I tested downloading and unzipping a release from github and it runs fine on a machine without go installed. Though you’d need to tell the mac it’s ok to run an unsigned app, etc. Come to think of it, install go and use go get.
Tried installing go on a Windows machine and running “go install [github.com/INFURA/ipfs-copy@latest](http://github.com/INFURA/ipfs-copy@latest)”, with the same “package [github.com/INFURA/ipfs-copy](http://github.com/INFURA/ipfs-copy) is not a main package” result
Looks like it worked, despite the feedback. I had a bit of trouble checking the version to verify as I didn’t realise I had multiple ipfs-copy folders and was navigating to the one in my user root folder, rather than the one under go/bin. Heading there and typing ‘./ipfs-copy version’ returns the version number.
Now I just need to figure out the source API URL for Pinata!