bitcoinjs-lib
bitcoinjs-lib copied to clipboard
I got the following error when i run tsc on my project to compile and build.
Here is the Actual Error I got:
macbook@MACBOOKs-MacBook-Pro btc_service % npm run build
[email protected] build (tsc||true)
node_modules/bitcoinjs-lib/src/crypto.d.ts:7:50 - error TS1005: ']' expected.
7 declare const TAGS: readonly ["BIP0340/challenge", "BIP0340/aux", "BIP0340/nonce", "TapLeaf", "TapBranch", "TapSighash", "TapTweak", "KeyAgg list", "KeyAgg coefficient"]; ~
node_modules/bitcoinjs-lib/src/crypto.d.ts:7:52 - error TS1134: Variable declaration expected.
7 declare const TAGS: readonly ["BIP0340/challenge", "BIP0340/aux", "BIP0340/nonce", "TapLeaf", "TapBranch", "TapSighash", "TapTweak", "KeyAgg list", "KeyAgg coefficient"]; ~~~~~~~~~~~~~
node_modules/bitcoinjs-lib/src/crypto.d.ts:7:169 - error TS1005: ';' expected.
7 declare const TAGS: readonly ["BIP0340/challenge", "BIP0340/aux", "BIP0340/nonce", "TapLeaf", "TapBranch", "TapSighash", "TapTweak", "KeyAgg list", "KeyAgg coefficient"]; ~
tsconfig.json:17:7 - error TS5023: Unknown compiler option 'noUncheckedIndexedAccess'.
17 "noUncheckedIndexedAccess": false ~~~~~~~~~~~~~~~~~~~~~~~~~~
Found 4 errors.