arnoudkooi / ServiceNow-Utils

Browser Extension to enhance experience and productivity in ServiceNow
https://arnoudkooi.com
247 stars 117 forks source link

Errors in plugin #445

Closed lordyj2001 closed 10 months ago

lordyj2001 commented 1 year ago

I started getting a ton of errors on the plugin this morning. I can provide details of each error if need be.

Cannot load extension with file or directory name metadata. Filenames starting with "" are reserved for use by the system. Service worker registration failed. Status code: 15 Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist. Uncaught TypeError: jQuery(...).select2 is not a function Uncaught TypeError: jQuery(...).select2 is not a function Uncaught TypeError: Cannot read properties of undefined (reading 'fields') Uncaught ReferenceError: DOMPurify is not defined Uncaught TypeError: Cannot read properties of undefined (reading 'length') Timer 'option loop' already exists Timer 'option loop' already exists Uncaught TypeError: Cannot read properties of undefined (reading 'length') Timer 'option loop' already exists Timer 'option loop' already exists Uncaught TypeError: Cannot read properties of undefined (reading 'fields') Uncaught TypeError: Cannot read properties of undefined (reading 'fields') Timer 'option loop' already exists Timer 'option loop' already exists Timer 'option loop' already exists Timer 'option loop' already exists Uncaught TypeError: Cannot read properties of undefined (reading 'fields') Uncaught SyntaxError: Invalid or unexpected token Uncaught SyntaxError: Invalid or unexpected token Uncaught SyntaxError: Invalid or unexpected token Uncaught SyntaxError: Invalid or unexpected token Uncaught SyntaxError: Invalid or unexpected token Uncaught SyntaxError: Invalid or unexpected token Uncaught SyntaxError: Invalid or unexpected token Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'forEach') Uncaught SyntaxError: Unexpected end of input Uncaught SyntaxError: Invalid or unexpected token Uncaught SyntaxError: Invalid or unexpected token Uncaught SyntaxError: Invalid or unexpected token Uncaught SyntaxError: Invalid or unexpected token Uncaught SyntaxError: Invalid or unexpected token Uncaught SyntaxError: Invalid or unexpected token Uncaught SyntaxError: Invalid or unexpected token Uncaught SyntaxError: Unexpected end of input Uncaught SyntaxError: Invalid or unexpected token Uncaught SyntaxError: Invalid or unexpected token Uncaught SyntaxError: Invalid or unexpected token Uncaught SyntaxError: Invalid or unexpected token Uncaught ReferenceError: jQuery is not defined Uncaught SyntaxError: Invalid or unexpected token Uncaught SyntaxError: Invalid or unexpected token Uncaught SyntaxError: missing ) after argument list Uncaught SyntaxError: Unexpected end of input Uncaught SyntaxError: Invalid or unexpected token Uncaught SyntaxError: Invalid or unexpected token

arnoudkooi commented 1 year ago

Yes, please add more details, as well as console screenshots, that reference files and line numbers.

lordyj2001 commented 12 months ago

image image image image image image image image image image image image image image image image image image

I hope these help

arnoudkooi commented 12 months ago

What is the browser and OS and Chrome version? Googling the problem seems to be a Ubuntu issue. Maybe unpacking this version will work: https://github.com/arnoudkooi/snippets/blob/master/chrome-snutils.zip

Or do you have time for a quick checkin?

lordyj2001 commented 12 months ago

Sadly in the middle of meetings for the next few hours at work but after that I could do for a checkin. See below for info.

Vivaldi 6.2.3105.58 (Stable channel) (64-bit) built from Chromium Revision 160afb130e98d47754ca92d477dfe950a5c0b4c1 OS Windows 10 Version 22H2 (Build 19045.3448) JavaScript V8 11.6.189.22 User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36

arnoudkooi commented 11 months ago

I could not replicate so far, maybe we can check in next week. It feels like scripts are not loaded timely.

lordyj2001 commented 11 months ago

Ya something happens after a few days or a week of being reinstalled. I get these errors. I would be more than happy to do all I can to help.

arnoudkooi commented 11 months ago

I have a feeling this is a Vivaldi issue, maybe you can file a report there. If you do, It is important to be complete in your information like it only happens after a week. Also, don't focus on SN Utils but the problem that scripts added by an extension don't seem to load.

lordyj2001 commented 11 months ago

I will do that. I see 2 icons in my browser. So it could be tied to that. Where are the pieces of the extension stored in the PC? Maybe I can remove it fully manually and try to reinstall it from a clean slate

arnoudkooi commented 11 months ago

What do you mean 2 icons? If you have both SN Utils and the OnPrem version, I would disable 1 of them

lordyj2001 commented 11 months ago

My org doesn't have an OnPrem instance. I had tried to manually remove it at one point in troubleshooting and now I have 2 icons that "work" when they work and don't "work" when it's broken. I am sure it's my fault for that. I will check with Vivaldi because it doesn't have issues on other PC's now after the last update.

arnoudkooi commented 10 months ago

Of there is something I can do let me know. Closing this one.