automation-stack / electron-sudo

Electron subprocesses with administrative privileges, prompting the user with an OS dialog if necessary.
MIT License
383 stars 55 forks source link

Cannot find module 'regenerator-runtime' #46

Closed zzuhan closed 7 years ago

zzuhan commented 7 years ago

I use Sudoer with Vanila JS, but it will report error Cannot find module 'regenerator-runtime', when I install this package, it running normal.

I find in dist/index.js, require("regenerator-runtime") in secod line.

automation-stack commented 7 years ago

Same issue - https://github.com/automation-stack/electron-sudo/issues/33, fixed