Readme update
This commit is contained in:
parent
abfc33a706
commit
677e653fcc
1 changed files with 10 additions and 7 deletions
17
README.md
17
README.md
|
|
@ -31,7 +31,16 @@ You don't need to run npm install, run apply:bitcoincom instead
|
||||||
```sh
|
```sh
|
||||||
npm run apply:bitcoincom
|
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
|
||||||
|
» <!doctype html>
|
||||||
|
» ^
|
||||||
|
» ParseError: Unexpected token
|
||||||
|
```
|
||||||
|
|
||||||
|
You will need to go directly into one of the javascript files in node_modules
|
||||||
```sh
|
```sh
|
||||||
nano node_modules/asn1.js-rfc5280/index.js
|
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');
|
var asn1 = require('asn1.js');
|
||||||
```
|
```
|
||||||
If you don't do this, you will get this error:
|
|
||||||
```sh
|
|
||||||
» <!doctype html>
|
|
||||||
» ^
|
|
||||||
» ParseError: Unexpected token
|
|
||||||
```
|
|
||||||
|
|
||||||
## Testing in a Browser
|
## Testing in a Browser
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue