不能进行安装error: no override and no default toolchain set
Closed this issue · 14 comments
chanceyans commented
系统archlinux
rustc 1.59.0
cargo 1.59.0
webkit2gtk 2.36.0-2
❯ sudo make install
[ 50%] Built target dmlive-bin
[100%] Generating src-tauri/target/release/revda
yarn install v1.22.18
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.09s.
yarn run v1.22.18
$ vue-tsc --noEmit && vite build
vite v2.8.6 building for production...
✓ 1224 modules transformed.
dist/index.html 0.53 KiB
dist/assets/index.992b6550.js 9.13 KiB / gzip: 2.70 KiB
dist/assets/index.c31591d3.css 273.79 KiB / gzip: 38.59 KiB
dist/assets/vendor.8a3ae041.js 764.98 KiB / gzip: 241.27 KiB
(!) Some chunks are larger than 500 KiB after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/guide/en/#outputmanualchunks
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
Done in 21.81s.
yarn run v1.22.18
$ /home/chanceyan/Revda/node_modules/.bin/tauri build
error: no override and no default toolchain set
Error running CLI: failed to build app: Result of `cargo build` operation was unsuccessful: exit status: 1
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
make[2]: *** [CMakeFiles/revda-bin.dir/build.make:75:src-tauri/target/release/revda] 错误 1
make[1]: *** [CMakeFiles/Makefile2:138:CMakeFiles/revda-bin.dir/all] 错误 2
make: *** [Makefile:136:all] 错误 2
THMonster commented
cn源里有打好的包,直接装revda-git就行了,我忘了写进readme里了……
chanceyans commented
那个我无法使用呀,
❯ revda
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error { inner: ErrorInner { kind: UnquotedString, line: Some(1), col: 8, at: Some(18), message: "", key: [] } }', src/config/config.rs:12:40
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
THMonster commented
你是不是动了revda.toml?
chanceyans commented
我就装了rustup
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh
rust装不上
git clone https://github.com/rust-lang/rust.git
cd rust
没编辑过revda.toml
THMonster commented
你的这个报错看起来是revda的配置文件出了问题
你能贴一下 ~/.config/dmlive/revda.toml
的内容吗?
chanceyans commented
saved = [
'tw-fudao1199',
'do-2311698',
'bi-15270',
'tw-liolok',
'tw-quattroace',
]
history = [
'tw-liolok',
'tw-quattroace',
'do-2311698',
'tw-fudao1199',
'bi-15270',
]
THMonster commented
你先把~/.config/dmlive/revda.toml
这个文件移走,再启动试试看
chanceyans commented
打开空白然后在窗口输入回车就报错
https://fars.ee/vH9I
THMonster commented
等等,你原本revda是能正常打开,但是无法播放是吗?
chanceyans commented
搜索就会报错
THMonster commented
我大概知道原因了,你检查下你的~/.config/dmlive/config.toml
,他的报错是UnquotedString,是不是你往里面填了什么?
chanceyans commented
THMonster commented
啊,这东西是旧版的吧……你直接移过来了?把他删了应该就正常了。
chanceyans commented
ok了,感谢