[Docs] Add troubleshooting guide for unable to start service (#2001)

* add troubleshooting

* moved

* Added to the docs repo

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
This commit is contained in:
Will Andrews
2022-10-22 21:04:18 +11:00
committed by GitHub
co-authored by Lea Anthony
parent b32069e4e4
commit c55f94a3dc
+7
View File
@@ -159,3 +159,10 @@ This is _normally_ due to a mismatch with the OS version you are running and the
installed. If you see an error like this, try upgrading your XCode Command Line Tools to the latest version.
Source: https://github.com/wailsapp/wails/issues/1806
## Cannot start service: Host version "x.x.x does not match binary version "x.x.x"
It's preferable to add `frontend/node_modules` and `frontend/package-lock.json` to your `.gitignore`. Otherwise when opening your repository on another machine
that may have different versions of Node installed, you may not be able to run your application.
If this does happen, simply delete `frontend/node_modules` and `frontend/package-lock.json` and run your `wails build` or `wails dev` command again.