Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I got the following error when i run tsc on my project to compile and build. #1856

Open
Abbeville opened this issue Dec 20, 2022 · 0 comments

Comments

@Abbeville
Copy link

Here is the Actual Error I got:

macbook@MACBOOKs-MacBook-Pro btc_service % npm run build

btc_service@0.0.1 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant