WSL2 snap exercism token not configuring
I am trying to run exercism in WSL2. I installed exercism using snap.
When I run exercism configure --token=XXXXX
The output is as follows: ''' You have configured the Exercism command-line client:
Config dir: /home/pc/.config/exercism Token: (-t, --token) XXXXX Workspace: (-w, --workspace) /mnt/d/dev/projects/exercism API Base URL: (-a, --api) https://api.exercism.io/v1 '''
If I try to download an exercise I get told to run the configure command. ''' Then run the configure command:
/snap/exercism/5/exercism configure --token=YOUR_TOKEN
'''
As I stated above when configuring token I receive an output that I expect with the correct token.
Running "exercism troubleshoot" produces the following output. ''' Troubleshooting Information
Version
Current: 3.0.13 Latest: 3.0.13
Operating System
OS: linux Architecture: amd64
Configuration
Home: /home/pc/snap/exercism/5
Workspace: /home/pc/snap/exercism/5/exercism (default)
Config: /home/pc/snap/exercism/5/.config/exercism
API key:
API Reachability
GitHub: * https://api.github.com * [connected] * 237.653852ms
Exercism: * https://api.exercism.io/v1/ping * [connected] * 902.769458ms
If you are having trouble please file a GitHub issue at https://github.com/exercism/exercism.io/issues and include this information. '''
The troubleshooting config file "/home/pc/snap/exercism/5/.config/" doesn't exist. I've tried ls -la and that produces no results.
How do I correct this issue?
The exercism troubleshoot command does show that the token is not configured.
I suggest uninstalling exercism with snap and instead download the executable for your architecture and place the executable into your Path. You can find the executable contained inside one of archives from the releases page.
Possible duplicate of https://github.com/exercism/cli/issues/905
This issue is several years old and appears abandoned. Closing it out. Feel free to start a discussion on the forum if there is anything that still needs looking into here.