# CMv2 Notes + edge cases and bug fixes

By [Musty](https://paragraph.com/@musty-2) · 2022-02-08

---

Command/config templates
------------------------

    ts-node ~/metaplex/js/packages/cli/src/candy-machine-v2-cli.ts upload \
        -e mainnet-beta \
        -k [wallet_filepath] \
        -cp config.json \
        -c temp \
        -r [endpoint_url] \
        ./assets
    
    ts-node ~/metaplex/js/packages/cli/src/candy-machine-v2-cli.ts verify_upload \
        -e mainnet-beta \
        -k [wallet_filepath] \
        -c temp \
        -r [endpoint_url]
    
    ts-node ~/metaplex/js/packages/cli/src/candy-machine-v2-cli.ts update_candy_machine \
        -e mainnet-beta \
        -k [wallet_filepath] \
        -cp config.json \
        -c temp \
        -r [endpoint_url]
    

    {
        "price": 1.0,
        "number": 10,
        "gatekeeper": null,
        "solTreasuryAccount": "<YOUR WALLET ADDRESS>",
        "splTokenAccount": null,
        "splToken": null,
        "goLiveDate": "25 Dec 2021 00:00:00 GMT",
        "endSettings": null,
        "whitelistMintSettings": null,
        "hiddenSettings": null,
        "storage": "arweave-sol",
        "ipfsInfuraProjectId": null,
        "ipfsInfuraSecret": null,
        "awsS3Bucket": null,
        "noRetainAuthority": false,
        "noMutable": false
    }
    

TailwindCSS w/ CMv2 mint site
-----------------------------

Tested repo below

[https://github.com/tonyboylehub/candymachine-v2-boiler-mint-site-noFLP](https://github.com/tonyboylehub/candymachine-v2-boiler-mint-site-noFLP)

After yarn install, run `yarn add tailwindcss`

`yarn add postcss`

`yarn add autoprefixer`

can probably add all 3 simultaneously but ye

You may need an additional loader… bug
--------------------------------------

![change the version of react-scripts in package.json to 4.0.1](https://storage.googleapis.com/papyrus_images/e00057382dfbfa4b92a2501095d1149574d9afab1a55e3463091ce6d150761a2.png)

change the version of react-scripts in package.json to 4.0.1

---

*Originally published on [Musty](https://paragraph.com/@musty-2/cmv2-notes-edge-cases-and-bug-fixes)*
