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
It won't build using tinygo. Some packages are not available in tinygo. So without carefully designing the code and watching the dependencies used, then it won't be possible to use tinygo. This project reuses existing code from elastic/beats without minimal modifications. It is way beyond the project's scope to fix any of these issues.
tinygo version 0.31.2 darwin/arm64 (using go version go1.22.2 and LLVM version 17.0.1)
tinygo build -o ui/public/processors.wasm -target wasm -ldflags "-X main.version=dev" ./internal/wasm
../../../go/pkg/mod/golang.org/x/net@v0.21.0/http2/transport.go:26:2: package net/http/httptrace is not in std (/Users/akroh/Library/Caches/tinygo/goroot-d8966786d458c7609be8dd342d52f7d045b9e56e2a2ad37836ef287c148b01d3/src/net/http/httptrace)
../../../go/pkg/mod/google.golang.org/grpc@v1.58.3/internal/transport/proxy.go:29:2: package net/http/httputil is not in std (/Users/akroh/Library/Caches/tinygo/goroot-d8966786d458c7609be8dd342d52f7d045b9e56e2a2ad37836ef287c148b01d3/src/net/http/httputil)
../../../go/pkg/mod/github.com/andrewkroh/elastic-agent-libs@v0.0.0-20220713130552-0fef594e5ae3/api/routes.go:23:2: package net/http/pprof is not in std (/Users/akroh/Library/Caches/tinygo/goroot-d8966786d458c7609be8dd342d52f7d045b9e56e2a2ad37836ef287c148b01d3/src/net/http/pprof)
../../../go/pkg/mod/golang.org/x/net@v0.21.0/publicsuffix/list.go:53:2: package net/http/cookiejar is not in std (/Users/akroh/Library/Caches/tinygo/goroot-d8966786d458c7609be8dd342d52f7d045b9e56e2a2ad37836ef287c148b01d3/src/net/http/cookiejar)
Try to reduce the .wasm binary size by using the Tinygo compiler. It uses LLVM.
The text was updated successfully, but these errors were encountered: