"syntax error near unexpected token `newline'" error in initialising a project #2888
-
I'm following https://book.kubebuilder.io/quick-start.html for installing the kubebuilder. After installation I tried the following for initiallizing the guestbook:
Resulted in the following error:
What might be causing this? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
We are unable to reproduce this issue. We need more info to try help you out. See that have not ``'` in the scaffolds and it seems something in your directory. If you still facing problems, please raise an issue and describe the versions as your env for we have further info to try to help you out. Making this one as answered. |
Beta Was this translation helpful? Give feedback.
-
Closing since it is answered. |
Beta Was this translation helpful? Give feedback.
-
I also just had this issue. It was due to Go not being available on my path when I ran the kubebuilder installation steps. You can run this to check that Go is available: go version |
Beta Was this translation helpful? Give feedback.
We are unable to reproduce this issue. We need more info to try help you out.
See that have not ``'` in the scaffolds and it seems something in your directory.
Ideally, you should not create the project in a dir that has other files already. That might be the issue.
If you still facing problems, please raise an issue and describe the versions as your env for we have further info to try to help you out. Making this one as answered.