FISHers6 / QuickAI

QuickAI是一款基于OpenAI开发的电脑版ChatGPT PC跨平台应用程序,它可以提供划词提问、快捷搜索、对话模式和快捷指令等多种功能。旨在为用户提供更便捷、更智能的PC桌面版AI使用体验。在使用时无需下载额外软件,适用于各种场景,如代码自动编辑、文件自动输入、提问、聊天软件自动回复等。QuickAI is a ChatGPT PC Program, support Windows, MacOS, Linux
GNU General Public License v3.0
209 stars 24 forks source link

執行 2. 安装依赖 出現問題 #34

Open TsungChihTsai opened 6 months ago

TsungChihTsai commented 6 months ago

成功clone: Cloning into 'QuickAI'... remote: Enumerating objects: 1293, done. remote: Counting objects: 100% (362/362), done. remote: Compressing objects: 100% (290/290), done. remote: Total 1293 (delta 190), reused 190 (delta 68), pack-reused 931 Receiving objects: 100% (1293/1293), 5.86 MiB | 10.90 MiB/s, done. Resolving deltas: 99% (622/628) Resolving deltas: 100% (628/628), done.

但進入QuickAI資料夾後,執行yarn install出現 'yarn' is not recognized as an internal or external command, operable program or batch file. 的問題

TsungChihTsai commented 6 months ago

我看到解法了,感恩

https://github.com/FISHers6/QuickAI/issues/23

TsungChihTsai commented 6 months ago

由於我的電腦只有安裝過python (由於我常常用python下載git的資料,所以第一關沒問題),但是是我第一次碰其他的軟體,我覺得您的readme需要增加以下相關資訊,幫助非相關領域的人來安裝這工具

安装依赖的 [yarn install]這步

我是網路下載node js安裝node-v20.10.0-x64.msi (https://nodejs.org/en) 後 打開cmd 輸入

  1. cd QuickAI/
  2. npm install -g yarn
  3. yarn install

安装依赖的 [cargo install tauri-cli // 如果已经安装tauri-cli, 请忽略此步骤]這步

我是先打開cmd

  1. npm create tauri-app@latest 然後安裝rustup-init.exe (64-bit) (https://www.rust-lang.org/learn/get-started#installing-rust) 輸入
  2. cargo install tauri-cli

运行应用程序 [cargo tauri dev]這步,我覺得我用的方式好像有問題,因為我不是執行cargo tauri dev,而是執行npm run tauri dev

我是先打開cmd 輸入

  1. cd QuickAI/
  2. npm run tauri dev 然後他告知我輸入http://localhost:1420/在broswer,然後我就成功使用了。但我沒有用cargo tauri dev,代表我使用的方式可能有問題,不是常規的使用方式