andretimm / andretimm/ping-observer

Not working

Ouverte
#2 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
2
Forks
1
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

{ timeout: 5, extra: [ '-w', '10' ] }
timers.js:479
throw new ERR_INVALID_CALLBACK();
^

TypeError [ERR_INVALID_CALLBACK]: Callback must be a function
at setInterval (timers.js:479:11)
at Object. (/home/twelixty/twelixty/mon.js:72:1)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)

The error is with timers.js, my code is identical to your example in README.md
as I was testing to make sure it works before adding it to me project.

I am running Node v10.23.1
Timer.js version is v5.8.0

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.