deepch / RTSPtoWeb

RTSP Stream to WebBrowser
MIT License
1.32k stars 312 forks source link

transport.go:19:2: package io/fs is not in GOROOT #265

Closed wendy2702 closed 1 year ago

wendy2702 commented 1 year ago

Hi,

i just started with RTSPtoWeb and cloned the Project to a new Debian 11 installation.

Starting the "server" is got this Error:

GO111MODULE=on go run *.go
../go/pkg/mod/golang.org/x/net@v0.4.0/http2/transport.go:19:2: package io/fs is not in GOROOT (/usr/lib/go-1.15/src/io/fs)

Can somebody please let me know whats wrong?

I did not made any changed to config or anything else. On the same installation I`m able to start RTPStoWebRTC without problems.

allenporter commented 1 year ago

You may need to try a newer version of go

wendy2702 commented 1 year ago

Installed latest Version of GO and error is gone.

Thanks