▲ 4 ▼ Goland tip of the day: when Make run configurations dont find "go"
In a Goland 2018.3 EAP run configuration, a Makefile run configuration finds the
go
binary on macOS, but not on Ubuntu, causing lines tasks this one builds to fail:client/test.wasm: client/main.go
# Building WASM
GOARCH=wasm GOOS=js go build -o client/test.wasm client/main.go
/usr/bin/make -f (some edited path)/Makefile client/test.wasm
/bin/sh: 1: go: not found
make: *** [client/test.wasm] Error 127
Let's fix it...
Register to comment or vote on this story