-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cobra-Cli init Error #31
Comments
Don't you have a typo on your command? It's I'm using the same go version and I did not have this problem 🤔 |
i'm having the same issue go version 1.18.1 update: seems it only occurs with go.work. #26 |
same here, the issue appear if you use |
yes, my project is in a workspace. it's very easy to reproduce |
I am experiencing the same with Go 1.18.3 on macOS 12.4 "Monterey". And like the others, I, too, am in Go workspace. If instead, at my Desktop or just a directory that's not a Go workspace, I simply
then all is well. So there definitely seems to be something with regard to the Go workspace feature for some reason. |
Try |
Thx! |
Seeing the same issue here, first module worked, second is unhappy in exactly the same way as the above with the error:
I worked around it by doing the |
Running into this also, and also using a workspace. Followed @DevolvingSpud's workaround for now. |
Same here, go workspaces are quite a disappointing feature to be honest, they seem to create more issues than anything. |
When doing an
This a a case the |
Ah yes, I see this was reported in #26. Sorry for the noise. |
Duplicate of #26 |
Error using "cobra-cli ini" --> Error: invalid character '{' after top-level value
Go version : 1.18.1
VsCode : 1.66.1
The text was updated successfully, but these errors were encountered: