我无法通过 npm run check_txns --dir=minted

发布于 2025-01-17 13:04:35 字数 1011 浏览 3 评论 0原文

我已经运行了 npm run check_txns --dir=minted 但我不断收到错误。你们能帮我吗?

Moon@Jungs-MBP create-10k-nft-collection-2.0.0 % npm run check_txns --dir=minted

[电子邮件受保护] check_txns /Users/moon/Downloads/create-10k-nft-collection-2.0.0 节点 utils/nftport/checkTxns %npm_config_dir%

请指定要检查的目录。使用“铸造”或“揭示” npm 错误!代码 生命周期 npm 错误!错误号1 npm 错误! [电子邮件受保护] check_txns: 节点utils/nftport/checkTxns%npm_config_dir% npm 错误!退出状态1 npm 错误! npm 错误! [email protected] check_txns 脚本失败。 npm 错误!这可能不是 npm 的问题。上面可能有额外的日志输出。

我已经运行了 npm run check_txns --dir=minted 但我不断收到错误。你们能帮我吗?

I have ran npm run check_txns --dir=minted but I keep getting the error. Can you guys help me on it please?

moon@Jungs-MBP create-10k-nft-collection-2.0.0 % npm run check_txns --dir=minted

[email protected] check_txns /Users/moon/Downloads/create-10k-nft-collection-2.0.0
node utils/nftport/checkTxns %npm_config_dir%

Please specify the directory to check. Use "minted" or "revealed"
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] check_txns: node utils/nftport/checkTxns %npm_config_dir%
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] check_txns script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

I have ran npm run check_txns --dir=minted but I keep getting the error. Can you guys help me on it please?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

孤凫 2025-01-24 13:04:35

问题在包装上。请记住,在视频中解释的那个人正在使用Windows。如果您有Mac,则必须编辑软件包。JSON并将%符号切换为$符号。另外,您必须在参数末尾删除$符号。
您的代码应该是这样的:

"mint": "node utils/nftport/mint $npm_config_start $npm_config_end",
"reveal": "node utils/nftport/revealNFTs $npm_config_start $npm_config_end",
"check_txns": "node utils/nftport/checkTxns $npm_config_dir",
"refresh_os": "node utils/functions/refreshOpensea $npm_config_start 

希望它对您有用! :)

The problem is on package.json. Keep in mind the guy who explains in the video is using windows. If you have a Mac, you have to edit the package.json and switch the % symbol to $ symbol. Also you have to remove the $ symbol at the end of the parameters.
Your code should be like this:

"mint": "node utils/nftport/mint $npm_config_start $npm_config_end",
"reveal": "node utils/nftport/revealNFTs $npm_config_start $npm_config_end",
"check_txns": "node utils/nftport/checkTxns $npm_config_dir",
"refresh_os": "node utils/functions/refreshOpensea $npm_config_start 

I hope it will work for you! :)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文