Closed huntershe closed 6 years ago
Use remote.Dialog instead of remote.require("dialog")
remote.Dialog
remote.require("dialog")
Object.require (/Applications/Atom.app/Contents/Resources/app.asar/src/electron-shims.js:57:12) Object.<anonymous> (/Users/sheliwei/.atom/packages/emp-debugger/lib/exports/emp.coffee:12:19) Object.<anonymous> (/Users/sheliwei/.atom/packages/emp-debugger/lib/exports/emp.coffee:508:4) Module._compile (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:109:30) Object..coffee (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:216:21) Module.load (module.js:473:32)
Use
remote.Dialog
instead ofremote.require("dialog")