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 isn't detected with workspace setup #161

Open
lights0123 opened this issue Aug 30, 2021 · 1 comment
Open

Yarn isn't detected with workspace setup #161

lights0123 opened this issue Aug 30, 2021 · 1 comment

Comments

@lights0123
Copy link

If a Tauri app is present in one package within a Yarn workspace, the check for yarn.lock fails because it's in the root directory of the workspace, not the package.

return existsSync(join(root, 'yarn.lock'))

@Norbiros
Copy link

Norbiros commented Aug 22, 2024

The same problem happens with pnpm. Because of it it used npm to install tauri cli, which downloaded v1 even for projects using v2. I was able to fix it using tauriScript: pnpm --filter=@modrinth/app run tauri

await execCommand('npm', ['install', '-g', '@tauri-apps/cli'], {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants