You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Uncaught Error: Cannot find module 'dialog'Error: Cannot find module 'dialog' at Function.Module._resolveFilename (module.js:351:15) at Function.Module._load (module.js:293:25) at Module.require (module.js:380:17) at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/atom/browser/lib/rpc-server.js:128:79) at EventEmitter.emit (events.js:119:17) at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/atom/browser/api/lib/web-contents.js:99:23) at EventEmitter.emit (events.js:119:17) #399
Right-click a file in the left column. (The file I used was green, not added to Git, and empty.)
Click Delete.
Atom Version: 0.186.0 System: Mac OS X 10.10.2 Thrown From: tree-view package, v0.164.0
Stack Trace
Uncaught Error: Cannot find module 'dialog'
Error: Cannot find module 'dialog'
at Function.Module._resolveFilename (module.js:351:15)
at Function.Module._load (module.js:293:25)
at Module.require (module.js:380:17)
at EventEmitter. (/Applications/Atom.app/Contents/Resources/atom/browser/lib/rpc-server.js:128:79)
at EventEmitter.emit (events.js:119:17)
at EventEmitter. (/Applications/Atom.app/Contents/Resources/atom/browser/api/lib/web-contents.js:99:23)
at EventEmitter.emit (events.js:119:17)
At /Applications/Atom.app/Contents/Resources/atom/renderer/api/lib/remote.js:77
Error: Cannot find module 'dialog'
Error: Cannot find module 'dialog'
at Function.Module._resolveFilename (module.js:351:15)
at Function.Module._load (module.js:293:25)
at Module.require (module.js:380:17)
at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/atom/browser/lib/rpc-server.js:128:79)
at EventEmitter.emit (events.js:119:17)
at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/atom/browser/api/lib/web-contents.js:99:23)
at EventEmitter.emit (events.js:119:17)
at metaToValue (/Applications/Atom.app/Contents/Resources/atom/renderer/api/lib/remote.js:77:15)
at Object.exports.require (/Applications/Atom.app/Contents/Resources/atom/renderer/api/lib/remote.js:157:34)
at Atom.module.exports.Atom.confirm (/Applications/Atom.app/Contents/Resources/app/src/atom.js:705:23)
at TreeView.module.exports.TreeView.removeSelectedEntries (/Applications/Atom.app/Contents/Resources/app/node_modules/tree-view/lib/tree-view.js:895:19)
at atom-workspace.disposables.add.atom.commands.add.tree-view:remove (/Applications/Atom.app/Contents/Resources/app/node_modules/tree-view/lib/main.js:84:39)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:243:29)
at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:61)
at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:156:19)
at jQuery.fn.trigger (/Applications/Atom.app/Contents/Resources/app/src/space-pen-extensions.js:64:23)
at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:80:67)
This looks very similar to atom/atom#6548 -- was this one perhaps fixed by atom/atom#7560 as well or does it need a 💉 as well?
Yeah, this is slightly different since the dialog is required via the remote module, not sure the same fix will help, it might be possible to require dialog in the browser process early on so it caches it and then this error might possibly go away.
Activity
winstliu commentedon Mar 10, 2015
@benogle what's with these super-long titles?
izuzak commentedon Mar 10, 2015
Hmm, not sure why this might be happening -- that require shouldn't be failing:
https://github.com/atom/atom/blob/b05a36d9f0667d68d06fc02fff1620deed9bbb0a/src/atom.coffee#L680
@SaxxonPike Was this a one-time exception or is this consistently happening for you?
Also cc @kevinsawicki for 👀
benogle commentedon Mar 13, 2015
Maybe github is accepting more text for titles now? I should probably manually truncate the title.
kevinsawicki commentedon Mar 18, 2015
@zcbenz any thoughts on this look? Looks like it is thrown by calling
require('remote').require('dialog')zcbenz commentedon Mar 18, 2015
I have no idea why it happened, it looks like something went wrong in module search paths on the browser side.
dasilvacontin commentedon Mar 18, 2015
I came up with this exception while closing an Unsaved File via Ctrl.+W.
izuzak commentedon Jul 6, 2015
@kevinsawicki This looks very similar to atom/atom#6548 -- was this one perhaps fixed by atom/atom#7560 as well or does it need a 💉 as well?
kevinsawicki commentedon Jul 6, 2015
Yeah, this is slightly different since the dialog is required via the remote module, not sure the same fix will help, it might be possible to require dialog in the browser process early on so it caches it and then this error might possibly go away.
arhatlohan commentedon Dec 29, 2016
I have this problem too.
When I chose the Atom, and reopen it.
It works !