Terra-地形部署计数器 - 错误:命令失败:CP伪像/计数器{-aarch64,}。
我一直在关注并采取了所有概述的步骤(多次从头开始尝试,重新安装生锈等),但是当我使用Terrain Deploy命令时,请始终遇到以下错误。
我感谢任何帮助,了解导致此错误的原因,在网上搜索时我找不到其他情况。提前致谢!
命令:
地形部署计数器-Signer Test1
错误:
using pre-baked 'test1' wallet on localterra as signer
Finished release [optimized] target(s) in 0.07s
Running script 'optimize': 'docker run --rm -v "$(pwd)":/code --mount type=volume,source="$(basename "$(pwd)")_cache",target=/code/target --mount type=volume,source=registry_cache,target=/usr/local/cargo/registry cosmwasm/rust-optimizer:0.12.3
'
Info: RUSTC_WRAPPER=sccache
Info: sccache stats before build
Compile requests 0
Compile requests executed 0
Cache hits 0
Cache misses 0
Cache timeouts 0
Cache read errors 0
Forced recaches 0
Cache write errors 0
Compilation failures 0
Cache errors 0
Non-cacheable compilations 0
Non-cacheable calls 0
Non-compilation calls 0
Unsupported compiler calls 0
Average cache write 0.000 s
Average cache read miss 0.000 s
Average cache read hit 0.000 s
Failed distributed compilations 0
Cache location Local disk: "/root/.cache/sccache"
Cache size 0 bytes
Max cache size 10 GiB
Building contract in /code ...
Finished release [optimized] target(s) in 0.05s
Creating intermediate hash for counter.wasm ...
28087be6244b6ac0071f90002a5851f080c61c3212c2c4be348e01fcb54f97bb ./target/wasm32-unknown-unknown/release/counter.wasm
Optimizing counter.wasm ...
Creating hashes ...
b410547cb1a425635024aa93be1e6324f5afae602528f6e98fefd6ed5dd47749 counter.wasm
Info: sccache stats after build
Compile requests 0
Compile requests executed 0
Cache hits 0
Cache misses 0
Cache timeouts 0
Cache read errors 0
Forced recaches 0
Cache write errors 0
Compilation failures 0
Cache errors 0
Non-cacheable compilations 0
Non-cacheable calls 0
Non-compilation calls 0
Unsupported compiler calls 0
Average cache write 0.000 s
Average cache read miss 0.000 s
Average cache read hit 0.000 s
Failed distributed compilations 0
Cache location Local disk: "/root/.cache/sccache"
Cache size 0 bytes
Max cache size 10 GiB
done
Finished, status of exit status: 0
cp: missing destination file operand after 'artifacts/counter{-aarch64,}.wasm'
Try 'cp --help' for more information.
Error: Command failed: cp artifacts/counter{-aarch64,}.wasm
cp: missing destination file operand after 'artifacts/counter{-aarch64,}.wasm'
Try 'cp --help' for more information.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我发现了,我在此处遵循M1 Mac的说明: https://docs.terra.money/docs/develop/dapp/quick-start/using-terrain-localterra.html
,然后使用此命令安装地形,而不是在Terra中学院视频(2022年4月):
NPM安装-G @Terra -Money/Terrain
I figured it out, I followed the instructions for M1 Macs here: https://docs.terra.money/docs/develop/dapp/quick-start/using-terrain-localterra.html
and then used this command to install Terrain, not the one in the Terra Academy video (Apr. 2022):
npm install -g @terra-money/terrain
我之前遇到了完全相同的错误。
我认为您使用以下命令下载了地形。
我删除了此软件包并使用了以下命令。
我希望这会有所帮助。
I met exactly same error before.
I think you downloaded terrain using following command.
I removed this package and used following command.
I hope this will be help.
不确定是否已经解决了此问题,但是可能有效的解决方案:
添加
-
在
地形部署计数器之后 - 不重建-Signer bombay-Network testnet
命令(或Terrain Terrain exploy Counter-Signer Tester-Signer Test1我认为,我认为,我使用以上一个)
Not sure if this issue has been solved already, but a solution that may work:
add
--no-rebuild
after the
terrain deploy counter --signer bombay --network testnet
command(or terrain deploy counter --signer test1 I think, I used the above one)