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
I was going to give bud a shot and unfortunately I got stuck right after generating a new controller, getting this error:
| genfs: open "bud/cmd/app/main.go". genfs: open "bud/internal/web/web.go". genfs: open
"bud/internal/web/controller/controller.go". framework/controller: unable to load. controller: unable to load:
"/snap/go/current/src/context" can't be outside the module directory "/snap/go/10257/src"
To reproduce:
curl -sf https://raw.githubusercontent.com/livebud/bud/main/install.sh | sh
bud create hello
cd hello
# in one tab
bud run
# in another tab
bud new controller home:/ index
As soon as the browser attempts to refresh the page that error occurs, the browser hangs and the request never completes. If I stop the server and try to spin it up again I get the same error and it never comes up.
Some information about my environment:
Ubuntu 22.04.2
go version go1.20.6 linux/amd64 installed with snap install
Same issue on Ubuntu 23.04 bud: 0.2.8 svelte: 3.47.0 react: 18.0.0 go version go1.20.3 linux/amd64 installed from deb
| Listening on http://127.0.0.1:3000
| genfs: open "bud/cmd/app/main.go". genfs: open "bud/internal/web/web.go". genfs: open "bud/internal/web/controller/controller.go". framework/controller: unable to load. controller: unable to load: "/usr/lib/go-1.20/src/context" can't be outside the module directory "/usr/share/go-1.20/src"
Sorry for the trouble here. I think this is related to: #369.
I probably won't devote cycles to this since I'm working on a new version of Bud that won't have issues like this. But if you figure it out, please let me know!
Hey there!
I was going to give bud a shot and unfortunately I got stuck right after generating a new controller, getting this error:
To reproduce:
As soon as the browser attempts to refresh the page that error occurs, the browser hangs and the request never completes. If I stop the server and try to spin it up again I get the same error and it never comes up.
Some information about my environment:
go version go1.20.6 linux/amd64
installed withsnap install
bud: 0.2.8
svelte: 3.47.0
react: 18.0.0
go env (click to expand)
The text was updated successfully, but these errors were encountered: