You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, I am at the candy machine creation step but have been getting the below errors.
poorva@DESKTOP-9G4452V:/mnt/c/Users/Virtuos/Downloads/nft/metaplex$ ts-node /mnt/c/Users/Virtuos/Downloads/nft/metaplex/js/packages/cli/src/candy-machine-v2-cli.ts upload -e devnet -k ~/.config/solana/pokemon-key.json -cp config.json -c example ./assets-pictures
/usr/lib/node_modules/ts-node/src/index.ts:820
return new TSError(diagnosticText, diagnosticCodes);
^
TSError: ⨯ Unable to compile TypeScript:
js/packages/cli/src/candy-machine-v2-cli.ts:4:10 - error TS2305: Module '"commander"' has no exported member 'InvalidArgumentError'.
4 import { InvalidArgumentError, program } from 'commander';
~~~~~~~~~~~~~~~~~~~~
js/packages/cli/src/candy-machine-v2-cli.ts:4:32 - error TS2305: Module '"commander"' has no exported member 'program'.
4 import { InvalidArgumentError, program } from 'commander';
~~~~~~~
js/packages/cli/src/candy-machine-v2-cli.ts:5:25 - error TS2307: Cannot find module '@project-serum/anchor' or its corresponding type declarations.
5 import * as anchor from '@project-serum/anchor';
~~~~~~~~~~~~~~~~~~~~~~~
js/packages/cli/src/candy-machine-v2-cli.ts:41:17 - error TS2307: Cannot find module 'loglevel' or its corresponding type declarations.
41 import log from 'loglevel';
~~~~~~~~~~
at createTSError (/usr/lib/node_modules/ts-node/src/index.ts:820:12)
at reportTSError (/usr/lib/node_modules/ts-node/src/index.ts:824:19)
at getOutput (/usr/lib/node_modules/ts-node/src/index.ts:1014:36)
at Object.compile (/usr/lib/node_modules/ts-node/src/index.ts:1322:43)
at Module.m._compile (/usr/lib/node_modules/ts-node/src/index.ts:1454:30)
at Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
at Object.require.extensions.<computed> [as .ts] (/usr/lib/node_modules/ts-node/src/index.ts:1458:12)
at Module.load (internal/modules/cjs/loader.js:937:32)
at Function.Module._load (internal/modules/cjs/loader.js:778:12)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12) {
diagnosticCodes: [ 2305, 2305, 2307, 2307 ]
}
I tried downgrading the node versions as a part of the resolution for the above errors, but that too didn't work.
Kindly help!
The text was updated successfully, but these errors were encountered:
Hi Team,
I have been following the below article for setting up the minting website.
https://docs.metaplex.com/candy-machine-v2/creating-candy-machine
Currently, I am at the candy machine creation step but have been getting the below errors.
poorva@DESKTOP-9G4452V:/mnt/c/Users/Virtuos/Downloads/nft/metaplex$ ts-node /mnt/c/Users/Virtuos/Downloads/nft/metaplex/js/packages/cli/src/candy-machine-v2-cli.ts upload -e devnet -k ~/.config/solana/pokemon-key.json -cp config.json -c example ./assets-pictures
/usr/lib/node_modules/ts-node/src/index.ts:820
return new TSError(diagnosticText, diagnosticCodes);
^
TSError: ⨯ Unable to compile TypeScript:
js/packages/cli/src/candy-machine-v2-cli.ts:4:10 - error TS2305: Module '"commander"' has no exported member 'InvalidArgumentError'.
4 import { InvalidArgumentError, program } from 'commander';
~~~~~~~~~~~~~~~~~~~~
js/packages/cli/src/candy-machine-v2-cli.ts:4:32 - error TS2305: Module '"commander"' has no exported member 'program'.
4 import { InvalidArgumentError, program } from 'commander';
~~~~~~~
js/packages/cli/src/candy-machine-v2-cli.ts:5:25 - error TS2307: Cannot find module '@project-serum/anchor' or its corresponding type declarations.
5 import * as anchor from '@project-serum/anchor';
~~~~~~~~~~~~~~~~~~~~~~~
js/packages/cli/src/candy-machine-v2-cli.ts:41:17 - error TS2307: Cannot find module 'loglevel' or its corresponding type declarations.
41 import log from 'loglevel';
~~~~~~~~~~
diagnosticCodes: [ 2305, 2305, 2307, 2307 ]
}
I tried downgrading the node versions as a part of the resolution for the above errors, but that too didn't work.
Kindly help!
The text was updated successfully, but these errors were encountered: