You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Executing the instructions from the Development section of the README leads to an error:
$ git clone https://github.com/arduino/arduino-create-agent.git
$ cd arduino-create-agent/
$ export GOPATH=$PWD
$ go get
go install: no install location for directory /home/hanno/tmp/Projects/arduino-create-agent outside GOPATH
For more details see: 'go help gopath'
The reasons for this error is, that the repository is not a properly set up GOPATH. The following works for me:
(edit: The following instructions are not fully correct. See my comment below.)
$ mkdir -p go/src
$ cd go/
$ export GOPATH=$PWD
$ cd src/
$ git clone https://github.com/arduino/arduino-create-agent.git
$ cd arduino-create-agent/
$ go get
$ go build
There's also mention of a script called compile_webidebridge.sh, which I didn't see anywhere.
The text was updated successfully, but these errors were encountered:
Please note that my workaround is wrong. Cloning arduino-create-agent into $GOPATH/src/arduino-create-agent, as I suggested, will prevent changes to the sub-packages from being picked up by the build tool, as the sub-packages are imported via GitHub, not their relative path.
The repository should be cloned into $GOPATH/src/github.com/arduino/arduino-create-agent, as per the Go conventions. It might be better to use go get for this, instead of doing it manually.
Uh oh!
There was an error while loading. Please reload this page.
Executing the instructions from the Development section of the README leads to an error:
The reasons for this error is, that the repository is not a properly set up
GOPATH
. The following works for me:(edit: The following instructions are not fully correct. See my comment below.)
There's also mention of a script called
compile_webidebridge.sh
, which I didn't see anywhere.The text was updated successfully, but these errors were encountered: