Closed Jalabeno closed 6 years ago
@Jalabeno Which instructions were you following?
This is expected behavior. The new CLI is a complete rewrite, and it has a completely new configuration mechanism. If you can point to where you were setting up, we can update the instructions.
@kytrinyx
Hey! I'm just poking around in the swift track. When I went to follow the instructions to configure the CLI, it just kept taking me back to the main swift track home page. Wasn't able to find where the instructions went, maybe i'm just missing it.
Ben
By the way, love what you're doing, hope one day I can contribute. Keep up the great work!
When I went to follow the instructions to configure the CLI, it just kept taking me back to the main swift track home page.
@Jalabeno Huh! That seems like it's not working as intended. When you say "went to follow", what page were you looking at?
Sorry about that,
I was reading the instructions tab for the first exercise of the swift track, Hello World, and when I followed this link under Setup:
Setup
Go through the project setup instructions for Xcode using Swift:
http://exercism.io/languages/swift
I ended up at the swift language track main page.
I was able to find the instructions after completing the Hello World exercise - only after I had submitted the solution.
On Sat, Jul 14, 2018 at 4:19 PM Katrina Owen notifications@github.com wrote:
When I went to follow the instructions to configure the CLI, it just kept taking me back to the main swift track home page.
@Jalabeno https://github.com/Jalabeno Huh! That seems like it's not working as intended. When you say "went to follow", what page were you looking at?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/exercism/cli/issues/626#issuecomment-405055887, or mute the thread https://github.com/notifications/unsubscribe-auth/AdQXOs9HiR9yILjfkzHhNEz8E4wvZaYBks5uGnx2gaJpZM4VPneY .
I'm having the same issue, went throw the same steps to reconfigure the CLI and now gets an Error: couldn't find it whenever I submit an exercise, and on the website when I went to the hello world exercise to check the instructions for submitting every time I hit the link I get redirected to the python track page.
Error: couldn't find it
Which version of the CLI are you using? The error message should be much more informative since 3.0.4 as far as I remember.
And which link do you click when you get directed to the track page?
Have you deleted and redownloaded the exercise in question before trying to submit to pull in the metadata neeed? Pro-Tip: Backup the solution you want to submit first ;)
Please refer to https://exercism.io/cli-v1-to-v2 for the details.
The Instructions
tab comes from the README of the exercise, which comes from each individual track repository. I think we'll need to put something in place to ensure that if you follow those instructions, the CLI gives you useful error messages.
The actionable thing for this is to ensure that if the README of an exercise says to run a command, we need to ensure that the CLI will give a useful error message if you run that command.
After checking the migration that migration link thanks to @NobbZ, I understood that the new version uses metadata and I have to redownload the exercise and I guess the Error: couldn't find it
that was occurring it was because there was no metadata, I Couldn't find anything on the migration on the website and that's why I came here, so if we can add that migration page to the footer help section would be more convenient if anybody encountered the same problem, and also the getting started page say refer to the hello world exercise for the instructions, and since the hello world is already submitted in my track I Couldn't find the begin walk throw tab and instructions on the side.
I opened a pull request here exercism/exercism.io#4056
That error is in an old version of the CLI. For anyone who downloaded the client in the past 7 days, they will get an error message that points to the migration guide.
After upgrading to the new version of exercism, I found I had to reconfigure a few things:
My cli token was not configured so i ran this in terminal:
$ exercism configure -t (found in settings)
then when I tried to submit an exercise, it said i wasn't in workspace so I reconfigured that as well:
$ exercism configure -w ./exercism
was able to submit exercises after doing these steps. Hopes this help fix the problem.
-Ben