5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 07:40:17 +08:00

[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 11:04:18 +01:00 committed by GitHub
parent b32069e4e4
commit c55f94a3dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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.