Skip to content
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

tdl training init <path> fails to initalize. #16

Open
SandeepGamot opened this issue Mar 7, 2024 · 1 comment
Open

tdl training init <path> fails to initalize. #16

SandeepGamot opened this issue Mar 7, 2024 · 1 comment

Comments

@SandeepGamot
Copy link

after following the onboarding setup from three dots lab.

  1. installed golang extension on vscode
  2. ran the curl install.sh to install tdl cli
  3. ran the tdl configure step with the token
  4. running tdl training init .

shows the following prompt

This command will clone training source code to /Users/username/Desktop/path/to/training directory.
Press ENTER to continue or q to quit 

when Enter is pressed it fails with the following error

••• . ➜ go work init
rpc error: code = Internal desc = Internal error

after this failure though it has a go.work file with go 1.21.2 as it's content.

What could be done to fix this?

@obiwor
Copy link

obiwor commented Mar 27, 2024

Same issue, I solved this pb by simply use the standard command tdl training init one-evening-gogiven on the website
Before clonning the cli will show you the final path which will be your current directory.

Finally, this command is confusing, you should read this command as "download your progression of the threedotslab course you choose, in the directory where you run this command" and not as the init as in git init

Maybe this line should be more explicit ^^
https://github.com/ThreeDotsLabs/cli/blob/master/tdl/main.go#L129

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants