tinygo-org / playground

TinyGo playground and VS Code extension
https://play.tinygo.org/
BSD 3-Clause "New" or "Revised" License
30 stars 7 forks source link

I get an error when I try to run it locally #9

Open sago35 opened 4 years ago

sago35 commented 4 years ago

I get this message and I can't run it locally.

LinkError: import object field 'syscall/js.finalizeRef' is not a Function

end: windows10 pro 64bit tinygo 64d51b215f63a3b178c6337ab252086d16003ff7

git clone --recursive https://github.com/tinygo-org/tinygo.git tinygo5
cd tinygo5
git checkout dev
make llvm-build
make
make gen-device
make wasi-libc
make release
sago35 commented 4 years ago

image

aykevl commented 4 years ago

Weird. Which Go version are you using? You could try using Go 1.13.

sago35 commented 4 years ago

I'm using Go 1.14.3.

go version go1.14.3 windows/amd64

Later, I'll try Go 1.13.

aykevl commented 2 years ago

This should be fixed. Is this still an issue?