Error encountered while compiling TypeScript code on desktop using ts-node to generate art configuration traits:
- Unable to find module 'commander' or its corresponding type declarations.
- Unable to find module '@project-serum/anchor' or its corresponding type declarations.
- Unable to find module '@solana/web3.js' or its corresponding type declarations.
- Unable to find module 'loglevel' or its corresponding type declarations.
- Unable to find module 'mime' or its corresponding type declarations.
Detailed error log:
Error reported at line 820 in ts-node/src/index.ts:
TSError: ⨯ Unable to compile TypeScript
Diagnostic codes: [2307, 2307, 2307, 2307, 2307]