Skip to content

Commit 8f14541

Browse files
authored
provide example error message for brew conflict, closes tauri-apps#674 (tauri-apps#859)
* provide example error message for brew conflict, closes tauri-apps#674 * add note about missing deps
1 parent 4c8faca commit 8f14541

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/guides/faq.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ We recommend using `es2021`, `last 3 Chrome versions`, and `safari13` for your b
115115

116116
Homebrew on Linux includes its own `pkg-config` (a utility to find libraries on the system). This can cause conflicts when installing the same `pkg-config` package for Tauri (usually installed through the package manager like `apt`). When you try to build a Tauri app it will try to invoke `pkg-config` and will end up invoking the one from Homebrew. If Homebrew wasn't used to install Tauri's dependencies, this can cause errors.
117117

118+
Errors will _usually_ contain messages along the lines of `error: failed to run custom build command for X` - `Package Y was not found in the pkg-config search path.`. Note that you may see similar errors if the required dependencies are not installed at all.
119+
118120
There are two solutions to this issue:
119121

120122
1. [Uninstall Homebrew]

src/pages/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function Cards() {
6161
label: translate({ message: 'Cross Platform' }),
6262
description: translate({
6363
message:
64-
'Bundle binaries for all major desktop platforms (mobile & WASM coming soon).',
64+
'Bundle binaries for all major desktop platforms (mobile coming soon).',
6565
}),
6666
link: '/guides/building/cross-platform',
6767
isDoc: true,

0 commit comments

Comments
 (0)