Open Luciennnnnnn opened 2 years ago
Hmm, the thing is that the image you screenshotted only shown warnings, not error, does it give you another output?
@kimlimjustin Yeah, it is a warning, but these are expected results when I run yarn install?
@kimlimjustin Yeah, it is a warning, but these are expected results when I run yarn install?
Erm, does the development process actually works (run yarn dev
to test it)? if it works, I think we can just simply ignore that, bcuz it's come out because of the dependency which I have no idea what's going on (I'm not a mac user but maybe the dependency needs to check the platform compability (?)). But please report if the development process doesn't work.
@kimlimjustin After I run yarn dev
, there is no window launched as I expected? Is that my use case wrong?
I have the same bug, do you solve it?
@kimlimjustin After I run
yarn dev
, there is no window launched as I expected? Is that my use case wrong?
Please try editing package.json
line 20 from:
"web": "concurrently \"cd api/web && cargo run\" \"live-server ./out/src --no-browser\"",
to:
"web": "concurrently \"cd api/web && cargo run\" \"live-server ./out/src --no-browser --port=1234\"",
and src-tauri\tauri.conf.json
line 8 from:
"devPath": "http://localhost:8080",
to:
"devPath": "http://localhost:1234",
I have same bug after changing port as well here is my tauri info
Environment
› OS: Arch Linux Rolling Release X64
› Node.js: 16.18.1
› npm: 9.6.3
› pnpm: Not installed!
› yarn: 1.22.19
› rustup: 1.25.1
› rustc: 1.64.0
› cargo: 1.64.0
› Rust toolchain: stable-x86_64-unknown-linux-gnu
Packages
› @tauri-apps/cli [NPM]: 1.1.1
› @tauri-apps/api [NPM]: 1.1.0
› tauri [RUST]: 1.1.1,
› tauri-build [RUST]: 1.1.1,
› tao [RUST]: 0.14.0,
› wry [RUST]: 0.21.1,
App
› build-type: bundle
› CSP: unset
› distDir: ../out/src
› devPath: http://localhost:1234/
› bundler: Webpack
App directory structure
├─ .vscode
├─ api
├─ packages
├─ .git
├─ docs
├─ src-tauri
├─ out
├─ src
├─ node_modules
├─ .husky
├─ scripts
├─ lib
├─ .github
├─ example
└─ .idea
Please let me know if i missed something
Description
When I followed the docs and try to develop this project, I countered this problem. How can I fix this? I use Mac M1, and Mac OS Monterey 12.3.1
Steps To Reproduce
No response
Expected behavior
.
Xplorer Version
latest
Operating System Version
Mac OS Monterey 12.3.1
Additional Information
No response