简体   繁体   English

Metaplex 上传错误。 “路径”参数必须是字符串

[英]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

and getting this error并得到这个错误在此处输入图像描述

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.

相关问题 Solana metaplex-program-library 线程“主”在“代码不可解析:错误(“必须为 init 提供空间”)时出现恐慌 - Solana metaplex-program-library thread 'main' panicked at 'Code not parseable: Error("space must be provided with init")' 模块 gumdrop-cli.ts metaplex 出错 - Error with modules gumdrop-cli.ts metaplex 创建 metaplex 元数据帐户时出现索引超出范围错误 - Getting index out of range error when creating metaplex metadata account 使用 metaplex 创建糖果机时如何解决此错误? - How do I fix this error when creating a candy machine with metaplex? 错误:找不到模块代码:'MODULE_NOT_FOUND',(metaplex) - Error: Cannot find module code: 'MODULE_NOT_FOUND', (metaplex) 在 Solana devnet Metaplex v1.2.0 candy-machine-ui 上铸造 NFT 时收到错误 - Receiving error when minting NFT on Solana devnet Metaplex v1.2.0 candy-machine-ui Metaplex 拍卖行错误“错误处理指令 0:指令的帐户密钥不足” - Metaplex Auction House Error "Error processing Instruction 0: insufficient account keys for instruction" 分裂薄荷钱元 - split mint money metaplex Metaplex Auction house execute_sale 函数抛出错误“程序日志:在'index out of bounds: the len is 0 but index is 0'” - Metaplex Auction house execute_sale function is throwing error " Program log: panicked at 'index out of bounds: the len is 0 but the index is 0'" Metaplex 店面中的推荐计划 - Referral program in Metaplex storefront
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM