From d4646d98a83d5e1fc3590be36b6471076571bd37 Mon Sep 17 00:00:00 2001 From: ChengyuZhu6 Date: Wed, 24 Jul 2024 08:46:01 +0800 Subject: [PATCH] README: add troubleshooting about running quorum-dev-quickstart add troubleshooting about running quorum-dev-quickstart failed on linux. Signed-off-by: ChengyuZhu6 --- README.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0d59c38..746f32c 100644 --- a/README.md +++ b/README.md @@ -117,4 +117,21 @@ In this case, you can modify the `FROM` statement in the `Dockerfile` located at ``` FROM --platform=linux/amd64 quorumengineering/tessera:${TESSERA_VERSION} -``` \ No newline at end of file +``` + +### `npx quorum-dev-quickstart` is not working on Linux + +When `npx quorum-dev-quickstart` is executed, it may run without any prompts or errors. When checked the npm log, you may find the following entry like: + +``` +info run quorum-dev-quickstart@0.2.4 prepare ../../../../quorum-dev-quickstart tsc && eslint --fix './src/**' +info run quorum-dev-quickstart@0.2.4 prepare { code: 127, signal: null } +verbose exit 127 +verbose code 127 +``` + +The error code 127 typically indicates that `tsc` or `eslint` command was not found. To resolve this, ensure that both tsc and eslint are installed + +``` +npm install -g typescript eslint +```