From 677e653fccf6affc2138327e6046a19244243b8e Mon Sep 17 00:00:00 2001 From: Sebastiaan Pasma Date: Wed, 6 Jun 2018 13:23:19 +0200 Subject: [PATCH] Readme update --- README.md | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 56ae84eab..b0e8747a0 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,16 @@ You don't need to run npm install, run apply:bitcoincom instead ```sh npm run apply:bitcoincom ``` -There is a bug when building the next step, you will need to go directly into one of the javascript files in node_modules + +#####asn1.js bug +If get the following error: +```sh +» +» ^ +» ParseError: Unexpected token +``` + +You will need to go directly into one of the javascript files in node_modules ```sh nano node_modules/asn1.js-rfc5280/index.js ``` @@ -39,12 +48,6 @@ Delete the whole try catch part at the top, replace it with only ``` var asn1 = require('asn1.js'); ``` -If you don't do this, you will get this error: -```sh -» -» ^ -» ParseError: Unexpected token -``` ## Testing in a Browser