Did you get this working? Is the application running on browser?
I am using react and I cant install child_process. It seems to have been deprecated in NPM and most of the comments I find suggest that it can't be run from a browser!