我无法通过 npm run check_txns --dir=minted
我已经运行了 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
问题在包装上。请记住,在视频中解释的那个人正在使用Windows。如果您有Mac,则必须编辑软件包。JSON并将%符号切换为$符号。另外,您必须在参数末尾删除$符号。
您的代码应该是这样的:
希望它对您有用! :)
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:
I hope it will work for you! :)