From fc9dd99deab7efbd01a9a5b989262561c6e575fe Mon Sep 17 00:00:00 2001 From: Igor Sementsov Date: Thu, 5 Jan 2023 08:19:49 +0300 Subject: [PATCH] Update troubleshooting.mdx (#2252) * Update troubleshooting.mdx https://github.com/wailsapp/wails/issues/2249 * Move guide to docs Co-authored-by: Lea Anthony --- website/docs/guides/troubleshooting.mdx | 6 +++++- .../version-v2.3.0/guides/troubleshooting.mdx | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/website/docs/guides/troubleshooting.mdx b/website/docs/guides/troubleshooting.mdx index f668b0ec..9a68610c 100644 --- a/website/docs/guides/troubleshooting.mdx +++ b/website/docs/guides/troubleshooting.mdx @@ -173,4 +173,8 @@ Sources: https://github.com/wailsapp/wails/issues/1806 and https://github.com/wa 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 +If this does happen, simply delete `frontend/node_modules` and `frontend/package-lock.json` and run your `wails build` or `wails dev` command again. + +## Build process stuck on "Generating bindings" + +Bindings generation process runs your application in a special mode. If application, intentionally or unintentionally, contains an endless loop (i.e. not exiting after `wails.Run()` finished), this can lead to build process stuck on the stage of bindings generation. Please make sure your code exits properly. diff --git a/website/versioned_docs/version-v2.3.0/guides/troubleshooting.mdx b/website/versioned_docs/version-v2.3.0/guides/troubleshooting.mdx index f668b0ec..37a6d3e7 100644 --- a/website/versioned_docs/version-v2.3.0/guides/troubleshooting.mdx +++ b/website/versioned_docs/version-v2.3.0/guides/troubleshooting.mdx @@ -173,4 +173,8 @@ Sources: https://github.com/wailsapp/wails/issues/1806 and https://github.com/wa 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 +If this does happen, simply delete `frontend/node_modules` and `frontend/package-lock.json` and run your `wails build` or `wails dev` command again. + +## Build process stuck on "Generating bindings" + +Bindings generation process runs your application in a special mode. If application, intentionally or unintentionally, contains an endless loop (i.e. not exiting after `wails.Run()` finished), this can lead to build process stuck on the stage of bindings generation. Please make sure your code exits properly.