TypeError Class constructor ExampleService cannot be invoked withou ‘new‘ at

When using the electron-egg framework, I encountered the following error

The image shows TypeError Class constructor ExampleService cannot be invoked without you 'new' at  …

Reason: For each encrypted class file, the toString() method needs to be added

Processing: Please check the code requirements in the code encryption document

 

Guess you like

Origin blog.csdn.net/qq_32660241/article/details/126886093