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

[Error] TypeError: Cannot read properties of undefined (reading 'program') #2127

Closed apejawn closed 2 years ago

apejawn commented 2 years ago

Which package is this bug report for?

candy machine ui

Issue description

trying to update config info in Candy Machine and im getting this message.

const candyMachine = new PublicKey(cacheContent.program.candyMachine); ^ TypeError: Cannot read properties of undefined (reading 'program')

where did I mess up?

Command

ts-node ~/metaplex/js/packages/cli/src/candy-machine-v2-cli.ts update_candy_machine \
    -e devnet \
    -k ~/.config/solana/devnet.json \
    -cp config.json \
    -c example \

Relevant log output

No response

Operating system

mac

Priority this issue should have

Low (slightly annoying)

Check the Docs First

barjakuzu commented 2 years ago

Same issue, I am unable to update Config file

Fantasim commented 2 years ago

https://github.com/metaplex-foundation/metaplex/issues/2123#issuecomment-1141728380

github-actions[bot] commented 2 years ago

This Issue has received no activity for 30 days. We will close it in 2 days, please reopen if you are still experiencing this issue.

data-intelligence-analysis commented 1 year ago

Running into the same issue for Devnet mint Test. Has there been a solution yet?

aUsABuisnessman commented 1 year ago

I dont know what a SRC is can Someone explain