Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yarn install failed #248

Open
Luciennnnnnn opened this issue May 4, 2022 · 7 comments
Open

yarn install failed #248

Luciennnnnnn opened this issue May 4, 2022 · 7 comments
Labels
bug Something isn't working

Comments

@Luciennnnnnn
Copy link

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

image

Steps To Reproduce

No response

Expected behavior

.

Xplorer Version

latest

Operating System Version

Mac OS Monterey 12.3.1

Additional Information

No response

@Luciennnnnnn Luciennnnnnn added the bug Something isn't working label May 4, 2022
@kimlimjustin
Copy link
Owner

Hmm, the thing is that the image you screenshotted only shown warnings, not error, does it give you another output?

@Luciennnnnnn
Copy link
Author

@kimlimjustin Yeah, it is a warning, but these are expected results when I run yarn install?

@kimlimjustin
Copy link
Owner

@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.

@Luciennnnnnn
Copy link
Author

Luciennnnnnn commented May 5, 2022

@kimlimjustin After I run yarn dev, there is no window launched as I expected? Is that my use case wrong?
image

@abu0306
Copy link

abu0306 commented Jul 14, 2022

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? image

@kimlimjustin
Copy link
Owner

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",

@Y-k-Y
Copy link

Y-k-Y commented Apr 1, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants