Unable to start language server (probably configuration rather than bug) #12
-
I’m having issues with IDL for VSCode. Things generally appear to be working to a fair degree, but there are error messages on startup which indicate that things are not happy. It says that the IDL Language Server crashed. So far as I can tell I do have node.js installed and in my path. I’m not familiar with Javascript, nor am I that familiar with VSCode, so apologies if the issue is something basic. I’ve pasted the logs below, as well as a screenshot of the specific message. In case it’s relevant, I’m running VSCode (1.83.1, Universal) on my Mac (MacOS 13.6), connecting via ssh to a linux server (I’ve pasted /etc/os-release below too). Any pointers are welcome. Yours, Nathaniel Livesey idl-client info IDL directory and path: "/opt/local/depot/harris/idl/bin" SyntaxError: Unexpected token function ================================================== (njl-base-3.10-18oct23) 2023d293 mlsscf-share1 % cat /etc/os-release ORACLE_BUGZILLA_PRODUCT="Oracle Linux 8" |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
Hey There! Reading through the logs, it looks like it is trying to use an older version of node.js (you have version 6 on your system path). Let me see if I can add in a filter to check the version and ignore node.js if the version is too low which will cause problems. As a workaround, if you can remove node.js from your path, then that should hopefully work around the problem until we can get a check/fix in. |
Beta Was this translation helpful? Give feedback.
-
Hi Zac,
Many thanks for following up. Ah, that’s interesting. It seems to be the version supplied by my Anaconda environment. Perhaps I’ll try updating that (though that can give its own problems as perhaps something else requires a version that old).
Nathaniel
Nathaniel Livesey
Mail Stop 183-701, Jet Propulsion Laboratory
4800 Oak Grove Drive, Pasadena, California 91109.
Phone: +1 818 354-4214<tel:+18183544214> Fax: +1 818 393-5065<tel:+18183935065>
From: Zachary Norman ***@***.***>
Date: Tuesday, October 24, 2023 at 8:48 AM
To: interactive-data-language/vscode-idl ***@***.***>
Cc: Livesey, Nathaniel J (US 3290) ***@***.***>, Author ***@***.***>
Subject: [EXTERNAL] Re: [interactive-data-language/vscode-idl] Unable to start language server (probably configuration rather than bug) (Discussion #12)
Hey There!
Reading through the logs, it looks like it is trying to use an older version of node.js (you have version 6 on your system path).
Let me see if I can add in a filter to check the version and ignore node.js if the version is too low which will cause problems.
As a workaround, if you can remove node.js from your path, then that should hopefully work around the problem until we can get a check/fix in.
—
Reply to this email directly, view it on GitHub<https://urldefense.us/v3/__https:/github.com/interactive-data-language/vscode-idl/discussions/12*discussioncomment-7371818__;Iw!!PvBDto6Hs4WbVuu7!IbpSyubhZMomL59UUAU1cjG_gVeEkVPS6SBlPmoU-4y51GIpCz6dPU8eHxzqYI4SW5reZbnd5TFC9LFyEusV2QtIkJ3V_1G8P_nSdw$>, or unsubscribe<https://urldefense.us/v3/__https:/github.com/notifications/unsubscribe-auth/AIX2AVOGI5UZDBQ7T5P25BTYA7PLDAVCNFSM6AAAAAA6JKHIPSVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TGNZRHAYTQ__;!!PvBDto6Hs4WbVuu7!IbpSyubhZMomL59UUAU1cjG_gVeEkVPS6SBlPmoU-4y51GIpCz6dPU8eHxzqYI4SW5reZbnd5TFC9LFyEusV2QtIkJ3V_1EYOooqzA$>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Alright, I just published a new version of the extension that should ignore any node.js versions less than v16. If this doesn't fix the problem, let me know and I can poke at it some more! |
Beta Was this translation helpful? Give feedback.
-
Just checking in, did the extension update fix the problem for you? |
Beta Was this translation helpful? Give feedback.
-
Hi Zach,
Thanks so much for following up and sorry for not getting back to you myself. Yes, I believe it did.
Many thanks, again,
Nathaniel
Nathaniel Livesey
Mail Stop 183-701, Jet Propulsion Laboratory
4800 Oak Grove Drive, Pasadena, California 91109.
Phone: +1 818 354-4214<tel:+18183544214> Fax: +1 818 393-5065<tel:+18183935065>
From: Zachary Norman ***@***.***>
Date: Monday, October 30, 2023 at 8:23 AM
To: interactive-data-language/vscode-idl ***@***.***>
Cc: Livesey, Nathaniel J (US 3290) ***@***.***>, Author ***@***.***>
Subject: [EXTERNAL] Re: [interactive-data-language/vscode-idl] Unable to start language server (probably configuration rather than bug) (Discussion #12)
Just checking in, did the extension update fix the problem for you?
—
Reply to this email directly, view it on GitHub<https://urldefense.us/v3/__https:/github.com/interactive-data-language/vscode-idl/discussions/12*discussioncomment-7425445__;Iw!!PvBDto6Hs4WbVuu7!OGOt1ofEI4PAC-nr04B_HtO7lbGbSTp0Iumg7o6yjL7XW5fuYDqXirJu1jPA_6KxsGrKSIfMqN_HGDrWrvj5X9WeWd77n8b6oofGCg$>, or unsubscribe<https://urldefense.us/v3/__https:/github.com/notifications/unsubscribe-auth/AIX2AVLSL3WGSY4MIE7WEXDYB7A3XAVCNFSM6AAAAAA6JKHIPSVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TIMRVGQ2DK__;!!PvBDto6Hs4WbVuu7!OGOt1ofEI4PAC-nr04B_HtO7lbGbSTp0Iumg7o6yjL7XW5fuYDqXirJu1jPA_6KxsGrKSIfMqN_HGDrWrvj5X9WeWd77n8bcoTwzhA$>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Great to hear! just wanted to check. I'll mark my response above as the answer and close. |
Beta Was this translation helpful? Give feedback.
Alright, I just published a new version of the extension that should ignore any node.js versions less than v16.
If this doesn't fix the problem, let me know and I can poke at it some more!