Error: pigpio error -123 in gpioSetISRFunc
at Gpio.enableInterrupt (/home/rpatel/Smartphone-Doorlock/node_modules/pigpio/pigpio.js:137:10)
at new Gpio (/home/rpatel/Smartphone-Doorlock/node_modules/pigpio/pigpio.js:40:10)
at Object. (/home/rpatel/Smartphone-Doorlock/doorlock.js:49:12)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
@raspberrypi:~/Smartphone-Doorlock $ sudo node doorlock.js /home/rpatel/Smartphone-Doorlock/node_modules/pigpio/pigpio.js:137 pigpio.gpioSetISRFunc(this.gpio, +edge, +timeout, handler); ^
Error: pigpio error -123 in gpioSetISRFunc at Gpio.enableInterrupt (/home/rpatel/Smartphone-Doorlock/node_modules/pigpio/pigpio.js:137:10) at new Gpio (/home/rpatel/Smartphone-Doorlock/node_modules/pigpio/pigpio.js:40:10) at Object. (/home/rpatel/Smartphone-Doorlock/doorlock.js:49:12)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)