[英]Metaplex uploading error. "path" argument must be string
I'm trying to use metaplex to upload NFTs and im having some issues with the uploading.我正在尝试使用 metaplex 上传 NFT,但我在上传时遇到了一些问题。
i'm running this command我正在运行这个命令
ts-node c:/server3/NFT/metaplex/js/packages/cli/src/candy-machine-v2-cli.ts upload \ -e devnet \ -k C:\server3\NFT\keypair.json \ -cp config.json \ -c example \ c:/server3/NFT/assets
now i know WHY im getting the error, it says because its skipping unsuported file "/server3" which is where the files are located.现在我知道为什么我会收到错误,它说是因为它跳过了文件所在的不受支持的文件“/server3”。 how do i make it not skip that folder?
我如何使它不跳过该文件夹? i believe thats why path is returning undefined.
我相信这就是为什么路径返回未定义的原因。
Windows has a issue with multi line commands. Windows 存在多行命令问题。 These new lines are indicated with the \ after every parameter.
这些新行在每个参数后用 \ 表示。 If you remove the extra \ and leave everything on one line it should resolve your issue for you.
如果您删除额外的 \ 并将所有内容保留在一行上,它应该可以为您解决问题。
ts-node c:/server3/NFT/metaplex/js/packages/cli/src/candy-machine-v2-cli.ts upload -e devnet -k C:\server3\NFT\keypair.json -cp config.json -c example c:/server3/NFT/assets
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.