首页 > 其他分享 >Dojoup 安装问题解决

Dojoup 安装问题解决

时间:2024-01-18 19:13:27浏览次数:21  
标签:bin dojo Dojoup Users qiaopengjun dojoup https 解决 安装

Dojoup 安装问题解决

Install Dojoup

curl -L https://install.dojoengine.org | bash

安装失败

dojoup


═════════════════════════════════════════════════════════════════════════


                  ██████╗  ██████╗      ██╗ ██████╗
                  ██╔══██╗██╔═══██╗     ██║██╔═══██╗
                  ██║  ██║██║   ██║     ██║██║   ██║
                  ██║  ██║██║   ██║██   ██║██║   ██║
                  ██████╔╝╚██████╔╝╚█████╔╝╚██████╔╝
                  ╚═════╝  ╚═════╝  ╚════╝  ╚═════╝


              Repo : https://github.com/dojoengine/dojo
              Book : https://book.dojoengine.org/
              Chat : https://discord.gg/dojoengine
                     https://t.me/dojoengine

═════════════════════════════════════════════════════════════════════════

dojoup: installing dojo (version , tag )
https://github.com/dojoengine/dojo/releases/download//dojo__darwin_arm64.tar.gz
dojoup: downloading latest dojo
########################################################################################################################################################## 100.0%
tar: Error opening archive: Unrecognized archive format
dojoup: command failed: tar -xzC /Users/qiaopengjun/.dojo/bin
/Users/qiaopengjun/.dojo/bin/dojoup: line 251: /Users/qiaopengjun/.dojo/bin/katana: No such file or directory
dojoup: command failed: /Users/qiaopengjun/.dojo/bin/katana --version
dojoup: installed -
dojoup: warning:
There are multiple binaries with the name 'katana' present in your 'PATH'.
This may be the result of installing 'katana' using another method,
like Cargo or other package managers.
You may need to run 'rm ' or move '/Users/qiaopengjun/.dojo/bin'
in your 'PATH' to allow the newly installed version to take precedence!

/Users/qiaopengjun/.dojo/bin/dojoup: line 251: /Users/qiaopengjun/.dojo/bin/sozo: No such file or directory
dojoup: command failed: /Users/qiaopengjun/.dojo/bin/sozo --version
dojoup: installed -
dojoup: warning:
There are multiple binaries with the name 'sozo' present in your 'PATH'.
This may be the result of installing 'sozo' using another method,
like Cargo or other package managers.
You may need to run 'rm ' or move '/Users/qiaopengjun/.dojo/bin'
in your 'PATH' to allow the newly installed version to take precedence!

/Users/qiaopengjun/.dojo/bin/dojoup: line 251: /Users/qiaopengjun/.dojo/bin/torii: No such file or directory
dojoup: command failed: /Users/qiaopengjun/.dojo/bin/torii --version
dojoup: installed -
dojoup: warning:
There are multiple binaries with the name 'torii' present in your 'PATH'.
This may be the result of installing 'torii' using another method,
like Cargo or other package managers.
You may need to run 'rm ' or move '/Users/qiaopengjun/.dojo/bin'
in your 'PATH' to allow the newly installed version to take precedence!

/Users/qiaopengjun/.dojo/bin/dojoup: line 251: /Users/qiaopengjun/.dojo/bin/dojo-language-server: No such file or directory
dojoup: command failed: /Users/qiaopengjun/.dojo/bin/dojo-language-server --version
dojoup: installed -
dojoup: warning:
There are multiple binaries with the name 'dojo-language-server' present in your 'PATH'.
This may be the result of installing 'dojo-language-server' using another method,
like Cargo or other package managers.
You may need to run 'rm ' or move '/Users/qiaopengjun/.dojo/bin'
in your 'PATH' to allow the newly installed version to take precedence!

dojoup: done!

解决问题

第一步:

cacargo install --git https://github.com/dojoengine/dojo --force sozo katana torii

    Updating git repository `https://github.com/dojoengine/dojo`
remote: Enumerating objects: 18446, done.
remote: Counting objects: 100% (18434/18434), done.
remote: Compressing objects: 100% (7073/7073), done.
remote: Total 18446 (delta 11079), reused 17946 (delta 10903), pack-reused 12
接收对象中: 100% (18446/18446), 6.91 MiB | 5.75 MiB/s, 完成.
处理 delta 中: 100% (11079/11079), 完成.
来自 https://ghproxy.com/https://github.com/dojoengine/dojo
 * [新引用]            HEAD       -> origin/HEAD
 * [新标签]            nightly-02cdf334798e98651f3cd059b35bf069244136b4 -> nightly-02cdf334798e98651f3cd059b35bf069244136b4

......

   Compiling katana-rpc-types-builder v0.5.1-alpha.0 (/Users/qiaopengjun/.cargo/git/checkouts/dojo-10cac2e09298cf35/cd410f9/crates/katana/rpc/rpc-types-builder)
warning: `katana-primitives` (lib) generated 3 warnings (run `cargo fix --lib -p katana-primitives` to apply 3 suggestions)
   Compiling katana-rpc v0.5.1-alpha.0 (/Users/qiaopengjun/.cargo/git/checkouts/dojo-10cac2e09298cf35/cd410f9/crates/katana/rpc)
   Compiling katana v0.5.1-alpha.0 (/Users/qiaopengjun/.cargo/git/checkouts/dojo-10cac2e09298cf35/cd410f9/crates/katana)
    Finished release [optimized] target(s) in 6m 40s
  Installing /Users/qiaopengjun/.cargo/bin/katana
   Installed package `katana v0.5.1-alpha.0 (https://github.com/dojoengine/dojo#cd410f99)` (executable `katana`)
     Summary Successfully installed sozo, katana! Failed to install torii (see error(s) above).
error: some crates failed to install

第二步:

dojoup


═════════════════════════════════════════════════════════════════════════


                  ██████╗  ██████╗      ██╗ ██████╗
                  ██╔══██╗██╔═══██╗     ██║██╔═══██╗
                  ██║  ██║██║   ██║     ██║██║   ██║
                  ██║  ██║██║   ██║██   ██║██║   ██║
                  ██████╔╝╚██████╔╝╚█████╔╝╚██████╔╝
                  ╚═════╝  ╚═════╝  ╚════╝  ╚═════╝


              Repo : https://github.com/dojoengine/dojo
              Book : https://book.dojoengine.org/
              Chat : https://discord.gg/dojoengine
                     https://t.me/dojoengine

═════════════════════════════════════════════════════════════════════════

dojoup: installing dojo (version v0.5.0, tag v0.5.0)
https://github.com/dojoengine/dojo/releases/download/v0.5.0/dojo_v0.5.0_darwin_arm64.tar.gz
dojoup: downloading latest dojo
########################################################################################################################################################## 100.0%
dojoup: installed - katana 0.5.0
dojoup: warning:
There are multiple binaries with the name 'katana' present in your 'PATH'.
This may be the result of installing 'katana' using another method,
like Cargo or other package managers.
You may need to run 'rm /Users/qiaopengjun/.cargo/bin/katana' or move '/Users/qiaopengjun/.dojo/bin'
in your 'PATH' to allow the newly installed version to take precedence!

dojoup: installed - sozo 0.5.0
dojoup: warning:
There are multiple binaries with the name 'sozo' present in your 'PATH'.
This may be the result of installing 'sozo' using another method,
like Cargo or other package managers.
You may need to run 'rm /Users/qiaopengjun/.cargo/bin/sozo' or move '/Users/qiaopengjun/.dojo/bin'
in your 'PATH' to allow the newly installed version to take precedence!

dojoup: installed - torii 0.5.0
dojoup: installed - dojo-language-server 0.5.0
dojoup: done!

成功解决!

sozo init


 ⛩️ ====== STARTING ====== ⛩️

Setting up project directory tree...
Cloning project template from https://github.com/dojoengine/dojo-starter...

标签:bin,dojo,Dojoup,Users,qiaopengjun,dojoup,https,解决,安装
From: https://www.cnblogs.com/QiaoPengjun/p/17973205

相关文章

  • Python - Playwright安装
    前言:Playwright是专门为满足端到端测试的需要而创建的。Playwright支持所有现代渲染引擎,包括Chromium、WebKit(Safari的浏览器引擎)和Firefox。在Windows、Linux和macOS上进行本地测试或在CI上进行测试.与Selenium+driver不同的是,Pw需要使用定制版的浏览器。如果本地......
  • Oozie重试任务不生效问题解决
    1、oozie默认为不重试规则,想要重试需在action中配置重试规则,示例如下:retry-max="3"retry-interval="1"发现增加以上配置后,任务失败并未生效;2、在~/oozie/conf/oozie-site.xml中增加以下配置:<property><name>oozie.service.LiteWorkflowStoreService.user.retry.error.cod......
  • scoop设置代理 , 解决”scoop fatal: unable to access“问题
    报错提示UpdatingScoop...fatal:unabletoaccess'https://github.com/ScoopInstaller/Scoop/':Failedtoconnecttogithub.comport443after21091ms:Couldn'tconnecttoserverRemove-Item:找不到路径“C:\Users\kai\scoop\apps\scoop\new”,因为该路......
  • ubuntu安装最新版的xtrabackup
    官方文档:https://www.percona.com/doc/percona-xtrabackup/8.0/installation/apt_repo.html1,首先都在root用户下操作,不然提示权限不足wgethttps://repo.percona.com/apt/percona-release_latest.$(lsb_release-sc)_all.deb通过上面命令得到最新的安装包,会根据你的系统来,......
  • 阿里云云原生弹性方案:用弹性解决集群资源利用率难题
    作者:赫曦随着上云的认知更加普遍,我们发现除了以往占大部分的互联网类型的客户,一些传统的企业,一些制造类的和工业型企业客户也都开始使用云原生的方式去做IT架构的转型,提高集群资源使用率也成为企业上云的一致共识。大家上云的同时,开始思考有没有云原生的方法能**更好地实现提高......
  • 工厂企业消防安全AI可视化视频智能监管解决方案
    一、方案背景2023年11月20日下午6时30分许,位于江苏省无锡市惠山区前洲街道的某公司突发严重火灾,共造成7人死亡。这次火灾提醒我们工业安全至关重要,企业都应该时刻保持警惕,加强安全意识和培训,提高应对突发事件的能力,最大程度地减少火灾等意外事故的发生。然而,企业消防安全监督管......
  • PostgreSQL安装部署
    1.使用yum安装1)安装数据库服务器yuminstall-yhttps://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpmyuminstall-ypostgresql15-server2)初始化并启动数据库/usr/pgsql-15/bin/postgresql-15-setupinitdb#默认......
  • python 安装 llama_index
    Python安装llama_index简介在进行数据分析和机器学习的过程中,我们经常需要对数据进行索引和检索。其中,llama_index是一个强大的Python库,用于快速构建和管理索引。它提供了各种功能,包括全文搜索、近似搜索、范围搜索等。本文将向您介绍如何安装和使用llama_index。安装要安装l......
  • VMWare pro 17 安装Ubuntu 20.04.6
    下载Ubuntu20.04.6镜像https://mirrors.tuna.tsinghua.edu.cn/ubuntu-releases/20.04.6输入用户名和密码继续;......
  • 解决vue用axiso两次访问后台api,发现后台的sessionID不一致
    我用的是ASP.NETCore7.0做的后台api,在解决了跨域问题(这个问题在官网上就有答案https://learn.microsoft.com/zh-cn/aspnet/core/security/cors?view=aspnetcore-7.0)为了方便阅读,我再讲一下在里progam里面增加代码(黄色代码),代码格式我就把不变的放到一起了解决完这个之后,因为要......