You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that I have file symlinks setup for these config files which could having something to do with this crash:
~/.config/Code/User/keybindings.json
~/.config/Code/User/settings.json
Repro:
Open terminal
Code &
Open another terminal (at ~)
Code . &
Expected:
vscode opens successfully
Actual:
Crash:
A JavaScript error occurred in the main process
Uncaught Exception:
Error: watch ENOSPC
at exports._errnoException (util.js:837:11)
at FSWatcher.start (fs.js:1247:11)
at Object.fs.watch (fs.js:1273:11)
at e.registerWatchers (/home/local/ANT/daniimms/VSCode-linux-x64/resources/app/out/vs/workbench/electron-main/main.js:7:3462)
at new e (/home/local/ANT/daniimms/VSCode-linux-x64/resources/app/out/vs/workbench/electron-main/main.js:7:3207)
at Object.<anonymous> (/home/local/ANT/daniimms/VSCode-linux-x64/resources/app/out/vs/workbench/electron-main/main.js:7:4907)
at e._invokeFactory (/home/local/ANT/daniimms/VSCode-linux-x64/resources/app/out/vs/loader.js:5:13773)
at e._complete (/home/local/ANT/daniimms/VSCode-linux-x64/resources/app/out/vs/loader.js:5:14012)
at e.resolveDependency (/home/local/ANT/daniimms/VSCode-linux-x64/resources/app/out/vs/loader.js:5:15066)
at e._onModuleComplete (/home/local/ANT/daniimms/VSCode-linux-x64/resources/app/out/vs/loader.js:5:21369)
A JavaScript error occurred in the main process
Uncaught Exception:
Error: Failed to set path
at Error (native)
at Object.<anonymous> (/opt/VSCode-linux-ia32/resources/atom.asar/browser/lib/init.js:120:7)
at Object.<anonymous> (/opt/VSCode-linux-ia32/resources/atom.asar/browser/lib/init.js:132:4)
at Module._compile (module.js:434:26)
at Object.Module._extensions..js (module.js:452:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:475:10)
at startup (node.js:130:18)
at node.js:982:3
Activity
bpasero commentedon Nov 18, 2015
Daniel Imms (@Tyriar) try increasing your file system handle limit: https://code.visualstudio.com/Docs/supporting/FAQ#_linux-error-enospc
Tyriar commentedon Nov 18, 2015
I added it, I won't be able to reboot to check right now though. Regardless, shouldn't this fail gracefully instead of throwing a cryptic exception?
JC1738 commentedon Jan 20, 2016
I have this same issue with ubuntu 14.04, i increased the file handle limit, still have the problem.
Tyriar commentedon Jan 20, 2016
I'm still hitting it when I try open a second instance after setting the watch limit
fs.inotify.max_user_watches=16384.Jim Castillo (@JC1738) are you using symlinks for your config files? Or is there anything else special about your set up?
isomorphisms commentedon Mar 4, 2016
I got this error too in Ubuntu 12.04.
Actually my error is precisely:
Tyriar commentedon Mar 4, 2016
i (@isomorphisms) looks like a distinct issue, I created #3700