I've been trying to fix a certain issue for the past day, and I can confidently say that I'm stuck. I've been trying to follow the guide for uploading a CMV2 to Devnet
The code that I've been trying to use ists-node ~/metaplex/js/packages/cli/src/candy-machine-v2-cli.ts upload \
-e devnet \
-k ~/.config/solana/devnet.json \
-cp config.json \
-c example \
./assets
But this is what shows up -e : The term '-e' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:1 char:5
+ -e devnet \
+ ~~
+ CategoryInfo : ObjectNotFound: (-e:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\Acer@ -k ~/.config/solana/devnet.json \
-k : The term '-k' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:1 char:5
+ -k ~/.config/solana/devnet.json \
+ ~~
+ CategoryInfo : ObjectNotFound: (-k:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\Acer@ -cp config.json \
-cp : The term '-cp' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.
+ -cp config.json \
+ CategoryInfo : ObjectNotFound: (-cp:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\Acer@ -c example \
-c : The term '-c' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the
At line:1 char:5
+ -c example \
+ ~~
+ CategoryInfo : ObjectNotFound: (-c:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
I'm pretty much confident that I'm never going past this step. There's so many unexecutable commands. I've also tried compiling it as one command line, but it also does not work.I've tried usingts-node ~/metaplex/js/packages/cli/src/candy-machine-v2-cli.ts upload -e devnet -k ~/.config/solana/devnet.json -cp config.json -c example ./assets
andts-node ~/metaplex/js/packages/cli/src/candy-machine-v2-cli.ts upload \ -e devnet \ -k ~/.config/solana/devnet.json \ -cp config.json \ -c example \ ./assets
Neither worked either
↧