Reputation:
I used "brew install play" in terminal installed play successfully but after installation, I typed "play" to test, those errors were throwed
[info] Loading project definition from /Users/useruser/Project
[info] Set current project to useruser (in build file:/Users/useruser/)
[error] Not a valid command: play (similar: apply, last, alias)
[error] Not a valid project ID: play
[error] Expected ':' (if selecting a configuration)
[error] Not a valid key: play (similar: clean)
[error] play [error] ^
What is wrong with my play framework?
Thanks
Upvotes: 0
Views: 77
Reputation: 7877
play
must be launch in a play project.
Just try to create a new empty project with play new myAwesomeProject
, and relaunch play
in the folder created.
Upvotes: 0
Reputation: 1267
Seems you already started play. Try now "run" to launch the server
Upvotes: 1