Open abdyek opened 1 year ago
same question
Hmm, that's odd. What OS are you running on? Did you try running go mod tidy
?
I sense it's related to: https://github.com/mattn/go-sqlite3/issues/384
this err shows on windows,I use intel Mac is ok
I am still experiencing this issue.
I tried to use go mod tidy
as @matthewmueller pointed out. But this did not work as well.
Env: Linux/Mint
I've manged to identify the problem. This is related to CGO.
For more information you can check about static builds on google.
TLDR Fix:
saurav@saurav:~/Workspace/livebud/gandaki$ go env -w CGO_ENABLED=1
I think we should look more into this. As ideally it would be better if works irrespective of CGO_ENABLED=1/0.
When create a hello project, the CLI trows this error to me