Error: 'powershell' is not recognized as an internal or external command
So in my case while trying to run the example it gave me this error:
Error: 'powershell' is not recognized as an internal or external command
In order to fix it, I went to the "win32.js" at "say/platform/win32.js" and changed the "COMMAND" constant from 'powershell' to 'start /b powershell'
That fixed the issue.
Adding powershell to the path fixed it for me
@steveboatface There's a problem with that, not everyone would like to add powershell to their paths, they want to just install and use the package.
@8o8inCodes, is there a way to do it so that power shell is not required in windows? I AM having problems with the stop function. It will end the child process of the event, but not the child process (power shell) that gets kicked off in Windows, so speech runs on.
Another old-fashioned option is to use Windows Scripting Host (cscript.exe) to run a VBScript file.