New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: process.chdir() is not allowed in extension sandbox #1427
Comments
It's not coc or coc-solargraph error, but caused by
NullVoxPopuli/coc-ember#2 solargraph-utils needs to upgrade |
@fannheyward thank you. I will try. |
I'm sorry for my ignorance but I don't understand what to do here. I have the same issue with coc-solargraph.
and coc-solargraph v1.1.5 installed with As what I think to understand from
After this, when I open a ruby file in gvim, it seems that coc doesn't try to start solargraph (using |
Update coc-solargraph should be fine now. |
Hi, Thanks for the follow up. I reinstalled coc-solargraph (now version 1.1.6, can see via :CocList extensions), and I still have the same issues:
|
@Frydac there's no dependencies of coc-solargraph, use |
Result from CocInfo
versions
vim version: VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Dec 12 2019 13:30:17)
node version: v13.5.0
coc.nvim version: 0.0.74-cd348f4905
term: undefined
platform: win32
Messages
"D:\code\CRM_NEW\app\controllers\alert\alerts_controller.rb" [unix] 369L, 12650C
[coc.nvim] Failed to start Solargraph: Error: process.chdir() is not allowed in extension sandbox
[coc.nvim] Solargraph failed to initialize.
Output channel: solargraph
[Error - 11:31:24 AM] Starting client failed:
Error: process.chdir() is not allowed in extension sandbox
at process.chdir (C:\Users\Teng.vim\plugged\coc.nvim\build\index.js:49042:15)
at resolveCommandAttempt (C:\Users\Teng\AppData\Local\coc\extensions\node_modules\coc-solargraph\lib\index.js:1201:17)
at resolveCommand (C:\Users\Teng\AppData\Local\coc\extensions\node_modules\coc-solargraph\lib\index.js:1214:12)
at detectShebang (C:\Users\Teng\AppData\Local\coc\extensions\node_modules\coc-solargraph\lib\index.js:1032:19)
at parseNonShell (C:\Users\Teng\AppData\Local\coc\extensions\node_modules\coc-solargraph\lib\index.js:1052:25)
at parse (C:\Users\Teng\AppData\Local\coc\extensions\node_modules\coc-solargraph\lib\index.js:1136:49)
at spawn (C:\Users\Teng\AppData\Local\coc\extensions\node_modules\coc-solargraph\lib\index.js:977:20)
at spawnWithBash (C:\Users\Teng\AppData\Local\coc\extensions\node_modules\coc-solargraph\lib\index.js:905:16)
at Object.solargraphCommand (C:\Users\Teng\AppData\Local\coc\extensions\node_modules\coc-solargraph\lib\index.js:920:16)
at C:\Users\Teng\AppData\Local\coc\extensions\node_modules\coc-solargraph\lib\index.js:35891:37
Describe the bug
coc-solargraph starting failed on windows.
The text was updated successfully, but these errors were encountered: