Skip to main content
13-Aquamarine
November 9, 2023
Solved

Error complaining that eventHelper cannot be deleted

  • November 9, 2023
  • 1 reply
  • 2478 views

Hi,

I am developing a widget snd I get the bellow error, as I can´t find an obvious explination, I wonder if anyone here knows what it means:
An error occurred while calling destroy for NovotekQRCodeReaderWidget, Id = "NovotekQRCodeReaderWidget-8". TypeError: property "eventHelper" is non-configurable and can't be deleted

 

 

Best answer by slangley

Hi @oskarberntorp.

 

Since you are having issues with all mashups, it sounds like you have introduced a library that is conflicting with the ones that come with ThingWorx.  You can test this by removing your extension and then check the mashups that aren't configured to use your custom widget, to see if you're still getting errors.

 

Note:  if you try to test your mashup that contains your custom widget after you remove the extension, the mashup builder will remove it from the mashup, so you may want to make a copy of the mashup before doing any further changes or testing on it.

 

Regards.

 

--Sharon

1 reply

Community Manager
November 10, 2023

Hi @oskarberntorp.

 

Just to clarify, you're creating a widget extension?  At what point do you get the error?

 

Regards.

 

--Sharon

13-Aquamarine
November 13, 2023

Hi,

Yes, I build a widget extension.
When I load the mashup builder.

 

Now, I also get this error when running the mashup, from what I can see, the file the error referes to looks good.

 

Uncaught SyntaxError: Unexpected end of input (at CombinedExtensions.20231113_155851.js:24462:1)

 

Kindly

Oskar

Community Manager
November 13, 2023

Hi @oskarberntorp.

 

So you were able to import the extension without issue?  Are you getting the error with any mashup or just the one that uses the extension?

 

Regards.

 

--Sharon