metaplex-foundation / js

A JavaScript SDK for interacting with Metaplex's programs
357 stars 182 forks source link

Unable to mint v0.13.2 #197

Closed mjzuppe closed 2 years ago

mjzuppe commented 2 years ago

On one of the recent updates, the create NFT functionality now returns an error when running: await metaplex.nfts().create({ uri, name, sellerFeeBasisPoints }).run();

Error: TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined

Something perhaps in the CreateNFTBuilder process that was updated?

Screen Shot 2022-07-26 at 2 28 28 PM

rastrent commented 2 years ago

Creating NFT's is working for me with 13.2. Are you sure something else isn't up here? Mind posting some more context for your code?

Also just in case some things got out of sync you can always try removing the node modules folder and running yarn/npm again. Sometimes things get messed up there.

mjzuppe commented 2 years ago

@rastrent Yup, that was it! Embarrassed I totally forgot to try that. Thanks for your help.