From a1a09e30e23ec6a754edc140ad32853360e93c0b Mon Sep 17 00:00:00 2001 From: Nolan Windham Date: Wed, 2 Mar 2022 08:41:53 -0800 Subject: [PATCH 1/2] README: Add troubleshooting section --- README.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4c4dc386..37642180 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,8 @@ The website has the [kernel](https://github.com/decentraland/kernel) as a depend 1. Edit `.env.development` to point the `KERNEL_PATH` env var to your local kernel folder 2. Run `npm run postinstall` to update the .env files -3. Run `npm run start:linked` +3. Run `npm install` +4. Run `npm run start:linked` If the linking is not working you can try one of two things: @@ -40,3 +41,23 @@ Another choice is to: 1. Clone the [kernel](https://github.com/decentraland/kernel) project 2. Make sure the folder is located where the linking error is trying to find it, usually `../kernel` 3. Build it locally (check the [kernel README](https://github.com/decentraland/kernel#running-the-explorer)) + +## Troubleshooting + +If you get this error while running `npm install`: +``` +npm ERR! Could not install from "node_modules/eth-sig-util/ethereumjs-abi@git+https:/github.com/ethereumjs/ethereumjs-abi.git" as it does not contain a package.json file. +``` + +Run `npm install -g npm@5` to install a compatible version of npm as described in [governance#144](https://github.com/decentraland/governance/pull/144). + +Then run `npm install` again. + + +If you get this error when running `npm run start:linked`: + +``` +Module not found: Can't resolve 'ethereumjs-abi' in '/Users/nolan/Documents/hayden5/decentraland/explorer-website/node_modules/eth-sig-util' +``` + +Run `npm install ethereumjs-abi` and try `npm run start:linked` again. From e2010ebff502fac5be3c0682c5b8cd5d8b4e912a Mon Sep 17 00:00:00 2001 From: Nolan Windham Date: Mon, 6 Jun 2022 11:57:27 -0700 Subject: [PATCH 2/2] update path --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 37642180..cac91b08 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ Then run `npm install` again. If you get this error when running `npm run start:linked`: ``` -Module not found: Can't resolve 'ethereumjs-abi' in '/Users/nolan/Documents/hayden5/decentraland/explorer-website/node_modules/eth-sig-util' +Module not found: Can't resolve 'ethereumjs-abi' in './decentraland/explorer-website/node_modules/eth-sig-util' ``` Run `npm install ethereumjs-abi` and try `npm run start:linked` again.