node-resthooksdemo icon indicating copy to clipboard operation
node-resthooksdemo copied to clipboard

TypeError on npm start or node app.js

Open anoop0567 opened this issue 5 years ago • 4 comments

Node Version : v10.16.0 Npm Version : 6.9.0

Error: Store.prototype.__proto__ = EventEmitter.prototype;
TypeError: Cannot read property 'prototype' of undefined at Object. (/home/work/Downloads/rest-hooks/node_modules/socket.io/lib/store.js:35:42) at Module._compile (internal/modules/cjs/loader.js:776:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:787: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 Module.require (internal/modules/cjs/loader.js:690:17) at require (internal/modules/cjs/helpers.js:25:18) at Object. (/home/work/Downloads/rest-hooks/node_modules/socket.io/lib/manager.js:16:13) at Module._compile (internal/modules/cjs/loader.js:776:30)

anoop0567 avatar Jun 11 '19 04:06 anoop0567

any solution for this?

shasharm14 avatar Sep 05 '19 14:09 shasharm14

Not yet moving to zapier polling method.

anoop0567 avatar Sep 06 '19 03:09 anoop0567

thanks for replying, is it good option to use firebase db as a replacement of polling?

shasharm14 avatar Sep 06 '19 04:09 shasharm14

we manually wrote API for rest hook. On every new subscriber, zapier gives a hookUrl in which you have to push the data.

anoop0567 avatar Sep 14 '19 01:09 anoop0567