0

When trying to go through the steps in lab 1 for hello.c. I am getting the below error

~/ $ check50  cs50/problems/2021/pset1/hello                                                                                                                                                                                                                                                     
Connecting......
Invalid slug: cs50/problems/2021/pset1/hello

I appreciate any help resolving this ?

Thanks Krishna

4
  • That does not match the slug in the current version of the courseware. (The "slug" is the argument to check50) Sep 7 at 20:03
  • I have tried creating hello directory and also moving the helloscript into different directory with different name still same issue Sep 7 at 20:10
  • But have you typed the correct slug? Have you looked at the link to the spec. It takes you to the correct check50 line, which does not match what you have typed. You can even copy/paste from the spec. Make sure you run check50 from the directory where the source code lives. Sep 7 at 21:04
  • Thank you that helped looks like the naming needs to be exact.Also I was trying to run it from the home directory rather than running it from directory where the script was located. Sep 7 at 21:47

You must log in to answer this question.

Browse other questions tagged .