Update troubleshooting.md

This commit is contained in:
0xSage 2023-11-14 12:44:01 +08:00 committed by GitHub
parent 64b219f1fc
commit db860778e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,21 +7,28 @@ sidebar_position: 5
Please note that 👋Jan is in "development mode," and you might encounter issues. If you need to reset your installation, follow these steps: Please note that 👋Jan is in "development mode," and you might encounter issues. If you need to reset your installation, follow these steps:
## Issue 1: Broken Build ## Issue 1: Broken Build
1. Delete the Jan Application from your computer.
2. Clear the cache by running one of the following commands: As Jan is development mode, you might get stuck on a broken build.
```sh To reset your installation:
rm -rf /Users/$(whoami)/Library/Application\ Support/jan-electron
```
or 1. Delete Jan from your `/Applications` folder
```sh 1. Delete Application data:
rm -rf /Users/$(whoami)/Library/Application\ Support/jan ```sh
``` # Newer versions
rm -rf /Users/$(whoami)/Library/Application\ Support/jan
3. If the above steps fail, use the following commands to find and kill any problematic processes: # Versions 0.2.0 and older
rm -rf /Users/$(whoami)/Library/Application\ Support/jan-electron
```
1. Clear Application cache:
```sh
rm -rf /Users/$(whoami)/Library/Caches/jan*
```
1. Use the following commands to remove any dangling backend processes:
```sh ```sh
ps aux | grep nitro ps aux | grep nitro
@ -32,3 +39,4 @@ Please note that 👋Jan is in "development mode," and you might encounter issue
```sh ```sh
kill -9 <PID> kill -9 <PID>
``` ```