cli
                                
                                 cli copied to clipboard
                                
                                    cli copied to clipboard
                            
                            
                            
                        Can't resubmit solution
I am trying to resubmit my solution to twofer but it's not allowing me to. The first comand is exercism submit two-fer
Error:
    The file you are trying to submit cannot be found.
        /Users/danielanderson/Desktop/Software_projects/exercism/teams/daniel-josh/javascript/two-fer/two-fer
then I type in exercise submit        /Users/danielanderson/Desktop/Software_projects/exercism/teams/daniel-josh/javascript/two-fer/two-fer
it then returns Error: not in workspace.
I submitted my first solution just fine.
Are you sure your file is called two-fer without a file ending?
Also I'm not using the teams edition, but as far as I remember, you need to provide the --team flag when doing so.
typed in exercism submit two-fer.js. and this is the error i got.
The file you are trying to submit cannot be found.
    /Users/danielanderson/desktop/software_projects/exercism/teams/daniel-josh/javascript/two-fer.js.
I typed exercism submit -team two-fer.js i got Error: unknown shorthand flag: 't' in -team
I'd expect the path to the file to be   /Users/danielanderson/desktop/software_projects/exercism/teams/daniel-josh/javascript/two-fer/two-fer.js (containing exercise name), are you sure you are in the correct folder?
Also, I said --team, not -team (double dash). Anyway, looked into the exercism help submit output, and it seems, as if --team is only needed for download, not submission.
I just did that and this is the error I get Error:
The exercise you are submitting doesn't have the necessary metadata.
Please see https://exercism.io/cli-v1-to-v2 for instructions on how to fix it.
Have you checked if the metadata exists for that exercise, and redownloaded it to recreate metadata if missing?
how could the metadata go missine? it submitted fine the first time
Perhaps you deleted it? Or your virusscanner? Or something else went wrong. Usually it shouldn't go missing, but have you checked if its still there? Have you tried to recreate it as described in the link from the error?
still having issues submitting files. this time I cant even submit my first solution.
Error:
    The file you are trying to submit cannot be found.
        /Users/danielanderson/Desktop/Software_projects/exercism/teams/daniel-josh/javascript/accumulate.js```
and this is what my path to that file looks like
/Users/danielanderson/Desktop/Software_projects/exercism/teams/daniel-josh/javascript/accumulate
Please make sure to use very exact pathes.
The best is to use cd to navigate into the exercises folder and then use a relative name to submit from there.
$ cd /Users/danielanderson/Desktop/Software_projects/exercism/teams/daniel-josh/javascript/accumulate
$ exercism submit accumulate.js
I copied your code and this is the error I got.
Error: not in workspace
Then please tell us what the output of exercism workspace is.
/Users/danielanderson/desktop/software_projects/exercism
Then this should work:
$ cd /Users/danielanderson/desktop/software_projects/exercism/teams/daniel-josh/javascript/accumulate
$ exercism submit accumulate.js
Sadly the CLI is case sensitive on the path, while your filesystem is not. This causes confusion sometimes.
So the reason why it was not working was that i kept on capitalizing Exercism on my path?
Not exercism but Desktop and Software_projects.
PS C:\Users\DeLL\Exercism\dart\hello-world> exercism submit Error: requires at least 1 arg(s), only received 0
tell me the solution
PS C:\Users\DeLL\Exercism\dart\hello-world> exercism submit Error: requires at least 1 arg(s), only received 0
tell me the solution
The error states "Requires at least one "arg(s)" (arg is short for
"argument").  It appears you want to do exercism submit hello_world.dart