Problem on Submitting Task with Local Version

Hey together :slight_smile:

I have tried to solve the “hello world” exercise on my local machine (Windows 11) to test whether I have installed and set up everything correctly. Thereby I have followed the instructions that were outlined on the Exercism homepage. Everything seemed to work properly and I could also run the unit tests in my VS Code terminal as expected. However when I try to submit the task using the order exercism submit hello-world.ts I keep getting the error message:

Error: not in Workspace

I am not really understanding why that error happens since I am running my orders from the hello-world folder where the TypeScript files are located. Maybe someone has a suggestion on why this error keeps happening. Thanks for all your help :slight_smile:

The exercism tool requires you do things from the expected workspace directory. What do you get when you run exercism workspace? If you used exercism download to fetch the code, that should have put it in the right place. Did you move it?

1 Like

Hey IsaacG. Thank you for your answer :) When I enter exercism workspace into my VS terminal I get a different path than the path where my hello-world folder is located. I have moved it previously (as you mentioned) because I wanted to have it in a Exercism-folder on my desktop where I have direct access to it.

Change what exercism thinks your workspace is:

exercism configure -w /path/to/your/actual/workspace

Then, the next time you download an exercise, it will be placed where you want it.

Thank your for your help glennj. I configured exercism with a new path to the workspace and the submission was succesfull :+1:

2 Likes