Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const say = require('say')
- say.speak('Hello!')
- say.stop()
- internal/process.js:167
- throw new TypeError('invalid pid');
- ^
- TypeError: invalid pid
- at process.kill (internal/process.js:167:13)
- at SayPlatformLinux.runStopCommand (/root/node_modules/say/platform/linux.js:41:13)
- at SayPlatformLinux.stop (/root/node_modules/say/platform/base.js:139:10)
- at Object.<anonymous> (/root/NodeJs/speech.js:7:5)
- 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)
Add Comment
Please, Sign In to add comment