From c55f94a3dc94f8913dceac14d71160be24ae5c5c Mon Sep 17 00:00:00 2001 From: Will Andrews Date: Sat, 22 Oct 2022 11:04:18 +0100 Subject: [PATCH] [Docs] Add troubleshooting guide for unable to start service (#2001) * add troubleshooting * moved * Added to the docs repo Co-authored-by: Lea Anthony --- website/docs/guides/troubleshooting.mdx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/website/docs/guides/troubleshooting.mdx b/website/docs/guides/troubleshooting.mdx index 524d1a311..05cb9703c 100644 --- a/website/docs/guides/troubleshooting.mdx +++ b/website/docs/guides/troubleshooting.mdx @@ -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. \ No newline at end of file