Skip to content

Commit 907dd83

Browse files
authored
docs: add troubleshooting section (#5313)
1 parent 646f243 commit 907dd83

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/CONTRIBUTING.md

+15
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
- [Version updates to Code](#version-updates-to-code)
1111
- [Patching Code](#patching-code)
1212
- [Build](#build)
13+
- [Troubleshooting](#troubleshooting)
14+
- [I see "Forbidden access" when I load code-server in the browser](#i-see-forbidden-access-when-i-load-code-server-in-the-browser)
15+
- ["Can only have one anonymous define call per script"](#can-only-have-one-anonymous-define-call-per-script)
1316
- [Help](#help)
1417
- [Test](#test)
1518
- [Unit tests](#unit-tests)
@@ -156,6 +159,18 @@ yarn package
156159
> If you need your builds to support older distros, run the build commands
157160
> inside a Docker container with all the build requirements installed.
158161
162+
### Troubleshooting
163+
164+
#### I see "Forbidden access" when I load code-server in the browser
165+
166+
This means your patches didn't apply correctly. We have a patch to remove the auth from vanilla Code because we use our own.
167+
168+
Try popping off the patches with `quilt pop -a` and reapplying with `quilt push -a`.
169+
170+
### "Can only have one anonymous define call per script"
171+
172+
Code might be trying to use a dev or prod HTML in the wrong context. You can try re-running code-server and setting `VSCODE_DEV=1`.
173+
159174
### Help
160175

161176
If you get stuck or need help, you can always start a new GitHub Discussion [here](https://github.com/coder/code-server/discussions). One of the maintainers will respond and help you out.

0 commit comments

Comments
 (0)