Sbt stage: not a valid command

I am trying to do a tutorial for scala and spray with this great template: http://typesafe.com/activator/template/activator-akka-spray

Then I follow the instructions for deploying Heroku: https://devcenter.heroku.com/articles/getting-started-with-scala

I ran into a problem while running the "sbt clean compile stage" command to prepare a deployment on Heroku. Here is the error message:

[info] Loading project definition from /.../activator-akka-spray/project [info] Set current project to activator-akka-spray (in build file:/.../activator-akka-spray/) [error] Not a valid command: stage (similar: last-grep, set, last) [error] Expected '/' [error] Expected ':' [error] Not a valid key: stage (similar: state, target, tags) [error] stage [error] ^ 

Has anyone encountered a similar error?

Thanks in advance for your help.

0
source share
1 answer

Add StartScriptPlugin from Typesafe to build.sbt as described in the documentation .

+2
source

Source: https://habr.com/ru/post/1205394/


All Articles