Skip to content

Commit c957e3d

Browse files
committed
docs: add note and lang to EMFILE troubleshooting
1 parent 5803696 commit c957e3d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

content/troubleshooting.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,12 +145,14 @@ Watchpack Error (watcher): Error: EMFILE: too many open files 'FILE_PATH' <-- Th
145145

146146
Add the following lines to your shell profile, usually `~/.bash_profile` or `~/.bashrc`, or if you are using `zsh` then `~/.zshrc` config file:
147147

148-
```
149-
export NODE_OPTIONS="--max-old-space-size=6096"
148+
```bash
149+
export NODE_OPTIONS="--max-old-space-size=4096"
150150
```
151151

152152
Then open a new terminal window and try running again.
153153

154+
**Note**: you can increase this number further, but keep in mind the maximum value depends on the available system memory.
155+
154156
:::
155157

156158
### error TS2611: 'xxx' is defined as a property in class 'Y', but is overridden here in 'Z' as an accessor

0 commit comments

Comments
 (0)