nightmare
nightmare copied to clipboard
Unable to start nightmare after win32 platform is built
Under the win32 platform, when I use the nightmare operation page in an "electron" application, the development environment runs normally, but after packaging, I find that nightmare cannot start normally.
Then I track the problem and find it in the lib/nightmare.js
file. The way to call electron in the way of a child process is wrong. proc.spawn
can only be run as a command line. You need to enable the shell on the win32 platform.
So there is a missing shell: true
parameter.