This repository was archived by the owner on Jul 23, 2025. It is now read-only.

Description
Hello, I was trying to have the ui mint example to run. And I got the following message:
TypeError: Cannot read properties of null (reading 'guards')
The error happens at line 79 of MintNFTs.js.
const guard = candyMachine.candyGuard.guards;
My sugar config is like this:
{
"number": 5,
"symbol": "XX",
"sellerFeeBasisPoints": 500,
"isMutable": true,
"isSequential": false,
"creators": [
{
"address": "<address>",
"share": 100
}
],
"uploadMethod": "pinata",
"awsConfig": null,
"nftStorageAuthToken": null,
"shdwStorageAccount": null,
"pinataConfig": {
"jwt": "<token>",
"apiGateway": "https://api.pinata.cloud",
"contentGateway": "https://gateway.pinata.cloud",
"parallelLimit": 1
},
"hiddenSettings": null,
"guards": null
}
address and token are of course are changed to my wallet and key
I believe it assumes there will be guards? How can I get the UI to run?