arnoudkooi / sn-scriptsync

Use sn-scriptsync in combination with SN Utils to be able to code in VS Code, including all benefits of a full fledged code editor
https://marketplace.visualstudio.com/items?itemName=arnoudkooicom.sn-scriptsync
Other
43 stars 28 forks source link

'arnoudkooicom.sn-scriptsync' failed: Cannot read property 'endsWith' of undefined. #51

Closed J2-Tech closed 3 years ago

J2-Tech commented 3 years ago

I just updated VSCode and now sn-scriptsync will not activate, i am getting this in the developper console :

Activating extension 'arnoudkooicom.sn-scriptsync' failed: Cannot read property 'endsWith' of undefined.

So whenever i click to start sn-scriptsync i get this error

Command 'sn-scriptsync: Enable' resulted in an error (command 'extension.snScriptSyncEnable' not found)

VSCode 1.55.0 sn-scriptsync 1.9.7

arnoudkooi commented 3 years ago

Im not able to replicate, could you try to reinstall the extension?

J2-Tech commented 3 years ago

I have reinstalled the extension, as well as the two previous versions of VSCode and it is still happenning. image image

arnoudkooi commented 3 years ago

Did you open a folder before starting scriptsync?

arnoudkooi commented 3 years ago

Or join my zoom room to troubleshout https://servicenow.zoom.us/my/arnoudkooi

J2-Tech commented 3 years ago

I just had to open a folder, you were correct, this resolved my issue !

Thank you, have a nice day !

arnoudkooi commented 3 years ago

Good, Ill add some errorhandling...