Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: this.emit is not a function #215

Open
ghost opened this issue Dec 12, 2017 · 0 comments
Open

TypeError: this.emit is not a function #215

ghost opened this issue Dec 12, 2017 · 0 comments

Comments

@ghost
Copy link

ghost commented Dec 12, 2017

The program started out with 'once' being undefined. I followed the solution and came up with a blank PDF. After following that solution too. I came up with one on my own

Uncaught TypeError: this.emit is not a function
    at exportJob.js:237
    at CallbacksRegistry.apply (C:\Users\test\test-project\node_modules\electron\dist\resources\electron.asar\common\api\callbacks-registry.js:48)
    at EventEmitter.<anonymous> (C:\Users\test\test-project\node_modules\electron\dist\resources\electron.asar\renderer\api\remote.js:299)
    at emitThree (events.js:116)
    at EventEmitter.emit (events.js:197)
(anonymous) @ exportJob.js:237
apply @ C:\Users\test\test-project\node_modules\electron\dist\resources\electron.asar\common\api\callbacks-registry.js:48
(anonymous) @ C:\Users\test\test-project\node_modules\electron\dist\resources\electron.asar\renderer\api\remote.js:299
emitThree @ events.js:116
emit @ events.js:197

The PDF is still generated though.
Is there any way to resolve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants