Skip to content

Errors in the start script #160

@quedogf94

Description

@quedogf94
Error 1

(cd $APP_FOLDER/rule-manager/rule-manager-client && npm i && npm run build)
"Must move up a directory to execute npm" should be:
(cd ../$APP_FOLDER/rule-manager/rule-manager-client && npm i && npm run build)

Error 2

Line 39 sbt "checker / run" causes this error
[error] Expected ID character
[error] Not a valid command: checker
[error] Expected project ID
[error] Expected configuration
[error] Expected ':'
[error] Expected key
[error] Not a valid key: checker (similar: checksums)
[error] checker / run
[error] ^

After changing sbt "checker / run"
To
sbt "run"
I'm getting this error

[info] set current project to script (in build file:/Users/test/typerighter/script/)
[error] java.lang.RuntimeException: No main class detected.
[error] at scala.sys.package$.error(package.scala:30)
[error] stack trace is suppressed; run last Compile / bgRun for the full output
[error] (Compile / bgRun) No main class detected.
[error] Total time: 0 s, completed Aug 17, 2021, 4:01:52 PM
[+] Running 2/2
⠿ Container typerighter-rule-manager Removed 0.2s
⠿ Network typerighter_default Removed 0.3s

Error 3

Also the project assumes webpack and sbt are installed on the host machine, the start script should check if those packages have been installed, if not then install or document to install the packages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions