Skip to content

playground: go generate fails when GOROOT is user-writeable. #69

Closed
@myitcv

Description

@myitcv

Following gopherjs/gopherjs#787 I'm seeing the playground fail to regenerate:

cd `mktemp -d`
export GOPATH=$PWD
go get github.com/gopherjs/gopherjs
go get github.com/gopherjs/gopherjs.github.io/playground
export PATH=$PWD/bin:$PATH
cd src/github.com/gopherjs/gopherjs.github.io/playground
gopherjs --version
go generate

with:

cp: cannot stat '/tmp/gopherjs_playground.QXOsmkSXHw/gopath/pkg/*_js_min/github.com/gopherjs/gopherjs/js.a': No such file or directory

This is, I believe, because js and nosync are fully vendored.

@shurcooL - what do you think is going on here?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions