We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4136a9 commit 955003bCopy full SHA for 955003b
docs/instructions/faq.md
@@ -26,3 +26,28 @@ You can use `of` function to create a hardcoded observable.
26
```typescript
27
stub.mockReturnValue(of(42));
28
```
29
+
30
+## `Error: listen EACCES: permission denied`
31
32
+When using Vitest Browser mode on some systems, you may encounter the following error:
33
34
+```
35
+Error: listen EACCES: permission denied 127.0.0.1:63315
36
37
38
+In this case, you can override the port using the `--browser.api.port` or the configuration file:
39
40
+```ts
41
+export default defineConfig({
42
+ ...
43
+ test: {
44
45
+ browser: {
46
47
+ api: {
48
+ port: 63315,
49
+ },
50
51
52
+});
53
0 commit comments