From 5c4d9b36d383baeb0d98f28fd12dc02f2359260c Mon Sep 17 00:00:00 2001 From: Andinus Date: Sat, 13 Jun 2020 00:06:38 +0530 Subject: [PATCH 1/2] Add additional setup information to README The build failed for me & was fixed after installing "karax" with nimble. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 05d4667..53c0c28 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,9 @@ nimble frontend nimble backend ``` +Note: You might have to run `nimble install karax@#5f21dcd`, if setup +fails with [this error](https://paste.debian.net/1151756/). The hash +needs to be replaced with the one specified in output. Development typically involves running `nimble devdb` which sets up the database for development and testing, then `nimble backend` From 8bad518e4ba322456ca62cc66c375008dfb4921d Mon Sep 17 00:00:00 2001 From: Andinus Date: Sat, 13 Jun 2020 00:55:32 +0530 Subject: [PATCH 2/2] Move setup fail information to Troubleshooting section This also pastes the output instead of linking to pastebin. --- README.md | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 53c0c28..0346c61 100644 --- a/README.md +++ b/README.md @@ -80,10 +80,6 @@ nimble frontend nimble backend ``` -Note: You might have to run `nimble install karax@#5f21dcd`, if setup -fails with [this error](https://paste.debian.net/1151756/). The hash -needs to be replaced with the one specified in output. - Development typically involves running `nimble devdb` which sets up the database for development and testing, then `nimble backend` which compiles and runs the forum's backend, and `nimble frontend` @@ -91,6 +87,22 @@ separately to build the frontend. When making changes to the frontend it should be enough to simply run `nimble frontend` again to rebuild. This command will also build the SASS ``nimforum.scss`` file in the `public/css` directory. +# Troubleshooting + +You might have to run `nimble install karax@#5f21dcd`, if setup fails +with: + +``` +andinus@circinus ~/projects/forks/nimforum> nimble --verbose devdb +[...] + Installing karax@#5f21dcd + Tip: 24 messages have been suppressed, use --verbose to show them. + Error: No binaries built, did you specify a valid binary name? +[...] + Error: Exception raised during nimble script execution +``` + +The hash needs to be replaced with the one specified in output. # Copyright