guardian / typerighter

Even if you’re the right typer, couldn’t hurt to use Typerighter!
Apache License 2.0
276 stars 12 forks source link

Errors in the start script #160

Open quedogf94 opened 3 years ago

quedogf94 commented 3 years ago
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.