Skip to content

Uncaught TypeError: this.timer.unref is not a function #31

Open
@xavier-breuil

Description

@xavier-breuil

Hello,

I have some issue feeding the dog.
I just paste the example given and get the following error then after one seconds the dog goes to sleep (we can see the log in the console):

Uncaught TypeError: this.timer.unref is not a function
at Watchdog.startTimer (watchdog.js:102)
at Watchdog.feed (watchdog.js:194)
at Module../src/hello_world/hello_world.js (hello_world.js:19)
at webpack_require (bootstrap:19)
at Module../src/app.js (app.js:1)
at webpack_require (bootstrap:19)
at ./config/env_development.json.module.exports.name (bootstrap:83)
at bootstrap:83

I just started a project with electron. Basically I cloned the electron boilerplate (https://github.com/szwacz/electron-boilerplate), install watchdog, copy and paste the example of this repos and launched it.

My configuration is:

  • node: 9.11.1
  • electron: 1.7.9

Do you have any idea where this may come from?

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions