gpt4 book ai didi

thirdweb contract is not installing(Third Web协定未安装)

转载 作者:bug小助手 更新时间:2023-10-28 22:23:24 27 4
gpt4 key购买 nike



I'm getting an error when I try to install contract using command:
npx thirdweb@latest create --contract

当我尝试使用以下命令安装约定时出错:npx Thirdweb@Latest Create--Contact


Cannot read properties of undefined (reading 'statusCode')
at packageJson (file:///C:/Users/parth/AppData/Local/npm-cache/_npx/86fd6f984ad48a35/node_modules/package-json/index.js:71:22)

at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async latestVersion (file:///C:/Users/parth/AppData/Local/npm-cache/_npx/86fd6f984ad48a35/node_modules/latest-version/index.js:4:20)
at async UpdateNotifier.fetchInfo (file:///C:/Users/parth/AppData/Local/npm-cache/_npx/86fd6f984ad48a35/node_modules/update-notifier/update-notifier.js:119:18)
at async C:\Users\parth\AppData\Local\npm-cache_npx\86fd6f984ad48a35\node_modules\thirdweb\dist\cli\index.js:431:488
at async Object.callback (C:\Users\parth\AppData\Local\npm-cache_npx\86fd6f984ad48a35\node_modules\thirdweb\dist\cli\index.js:431:424)
at async Command.parseAsync (C:\Users\parth\AppData\Local\npm-cache_npx\86fd6f984ad48a35\node_modules\commander\lib\command.js:935:5)
at async xm (C:\Users\parth\AppData\Local\npm-cache_npx\86fd6f984ad48a35\node_modules\thirdweb\dist\cli\index.js:432:6610)

无法在包读取未定义的属性(正在读取‘(file:///C:/Users/parth/AppData/Local/npm-cache/_npx/86fd6f984ad48a35/node_modules/package-json/index.js:71:22)’)进程TicksAndRejections(节点:内部/进程/任务_队列:96:5)异步更新通告程序的版本(file:///C:/Users/parth/AppData/Local/npm-cache/_npx/86fd6f984ad48a35/node_modules/latest-version/index.js:4:20).fetchInfo(file:///C:/Users/parth/AppData/Local/npm-cache/_npx/86fd6f984ad48a35/node_modules/update-notifier/update-notifier.js:119:18)at Async C:\Users\parth\AppData\Local\npm-cache_npx\86fd6f984ad48a35\node_modules\thirdweb\dist\cli\index.js:431:488 at Async Object.回调(C:\Users\parth\AppData\Local\npm-cache_npx\86fd6f984ad48a35\node_modules\thirdweb\dist\cli\index.js:431:424)Async Command。parseAsync(C:\Users\parth\AppData\Local\npm-cache_npx\86fd6f984ad48a35\node_modules\commander\lib\command.js:935:5)at Async XM(C:\Users\parth\AppData\Local\npm-cache_npx\86fd6f984ad48a35\node_modules\thirdweb\dist\cli\index.js:432:6610)


更多回答
优秀答案推荐

yes there is some problem in latest cli

是的,最新的CLI有一些问题


use this

用这个


npx [email protected] create --contract

更多回答

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com