Closed wilk3ns closed 2 years ago
Did you follow the build docs? https://screego.net/#/development?id=build
Sure I did. It is not my first time playing with this repo. Last time it worked well. I suspect it is because of updated go version
have you ran yarn build
inside the ui directory?
Sure I did, the bug has nothing to do with the front end anyway, imo but it works ok
?!?, so it works now?
Problem related to go code. Yarn builds js front end. Has nothing to do with go.
Are you sure? The error is that there is no build directory in the ui folder.
$ rm ui/build -rf
$ go build -o screego .
ui/serve.go:13:12: pattern build: no matching files found
$ (cd ui && yarn build)
yarn run v1.22.17
$ react-scripts --max-old-space-size=3000 build
Creating an optimized production build...
Compiled successfully.
File sizes after gzip:
144.46 KB build/static/js/2.1c162509.chunk.js
6.99 KB build/static/js/main.2be10f68.chunk.js
767 B build/static/js/runtime-main.b0612058.js
100 B build/static/css/main.ff1cb46a.chunk.css
The project was built assuming it is hosted at ./.
You can control this with the homepage field in your package.json.
The build folder is ready to be deployed.
Find out more about deployment here:
https://cra.link/deployment
Done in 8.87s.
$ go build -o screego .
$ ll screego
.rwxr-xr-x 17M jm 4 Jan 19:42 screego
There's a problem in a project, saying "pattern build: no matching files found go list" I use Go version 1.17.5