Good morning,
We have several MacBook Airs that are running VS Code with the extensions VEX Robotics and the Feedback, however some users are unable to use the extension because it throws the error below:
[01/17/2025 09:20:53:379] [Command] [error] [Vexcom Version][Result]:(126)
[01/17/2025 09:20:53:380] [extension] [error] : VEX Extension Fatal Error:
Name :SyntaxError
Message: Unexpected end of JSON input
Stack: SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at Object.t [as vexcomVersion] (/Users/[Redacted}/.vscode/extensions/vexrobotics.vexcode-0.6.1/dist/extension.js:94:9326)
at async Object.e [as setup] (/Users/[Redacted}/.vscode/extensions/vexrobotics.vexcode-0.6.1/dist/extension.js:116:11596)
[01/17/2025 09:20:56:180] [extension] [error] TypeError: Cannot read properties of undefined (reading ‘selectedDevice’)
Now this doesn’t happen all the time, some users can open the extension without issue and some don’t but one thing I do notice is that users with the problem don’t have the dependencies download like show below:
There about 5 or so,
I’ve uninstalled VS Code, cleaned out .vscode folder, reinstalled, and when it still fails I do a chmod 777 extensions and .vscode the problem files and folders from the error above and still get the issue, the dependencies never download,
Any guidance would be appreciated,
Gio