简体   繁体   中英

Coursera Scala SBT submission issues

I am a current student at the EPFL functional programming in SCALA course on coursera. I have successfully passed the first course by submitting my assignments via sbt with no issues until now.

When I tried to submit the 'calculator' assignment with my generated token, I get error messages like

Set current project to src (in build file:/C:/Users/user/Desktop/cousera%20class/calculator/calculator/src/)

submit [error] Not a valid command: submit (similar: set) [error] Not a valid project ID: submit [error] Expected ':' (if selecting a configuration) [error] Not a valid key: submit [error] submit

Please who's faced this challenge in the past? I need help

Here is what I have done.

  • Ignored all the setup tutorials that are there.
  • Installed sbt on my Ubuntu using apt .
  • Imported the example project here .
  • Went into following the steps there.
  • Submitted using sbt then submit myemail@email.com [token] .

Hope that can be helpful.

Just in case this helps anybody else, I had the same problem. I tried running

sbt submit {my.email@domain.com} {token}
from the project root, but that didn't work. Running sbt by itself entered an interpreter type thing, which accepts commands, and running
submit {my.email@domain.com} {token}
from there worked.

Very strange.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM