playframework / playframework/play-socket.io
Cannot run chat example
Open
Nobody has claimed this yet.
triage
- Dominant language
- Scala
- Stars
- 96
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
Description
Create project from https://github.com/playframework/play-socket.io/tree/master/samples/scala/chat and ger compilation error
overriding method applicationLifecycle in trait MyApplication of type => play.api.inject.DefaultApplicationLifecycle;
lazy value applicationLifecycle in class BuiltInComponentsFromContext of type play.api.inject.ApplicationLifecycle has incompatible type
Try with Play 2.6.23 and 2.7.2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the sample at samples/scala/chat and reproduce its compilation with Play 2.6.23 and 2.7.2. Read the reported applicationLifecycle type error and compare the sample's dependencies and Play API usage. Done means the chat example compiles successfully on the affected supported version(s).
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100