metaplex-foundation / metaplex

A directory of what the Metaplex Foundation works on!
https://metaplex.com
Apache License 2.0
3.32k stars 6.26k forks source link

candy-machine-v2 error #1474

Closed davincii1889 closed 2 years ago

davincii1889 commented 2 years ago

Im getting this error: (required option '-cp, --config-path ' not specified) when i run ts-node js/packages/cli/src/candy-machine-v2-cli.ts upload ./assets -env mainnet --keypair ~/.config/solana/mainnet-test.json

stegaBOB commented 2 years ago

Please check out our docs. You're missing the config path option in your command. https://docs.metaplex.com/candy-machine-v2/creating-candy-machine

davincii1889 commented 2 years ago

thank you

davincii1889 commented 2 years ago

Im still getting this error even thought i did what was recommended on the website: Error: Cannot find module './candy-machine-v2-cli.ts' Require stack: js/packages/cli/src/imaginaryUncacheableRequireResolveScript at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15) at Function.resolve (node:internal/modules/cjs/helpers:108:19) at requireResolveNonCached (/opt/homebrew/lib/node_modules/ts-node/dist/bin.js:321:16) at getProjectSearchDir (/opt/homebrew/lib/node_modules/ts-node/dist/bin.js:291:40) at main (/opt/homebrew/lib/node_modules/ts-node/dist/bin.js:193:27) at Object. (/opt/homebrew/lib/node_modules/ts-node/dist/bin.js:351:5) at Module._compile (node:internal/modules/cjs/loader:1097:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10) at Module.load (node:internal/modules/cjs/loader:975:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) { code: 'MODULE_NOT_FOUND', requireStack: [

malikh36 commented 2 years ago

I can surely help contact me email me easystudy36@gmail.com