Repository navigation
Uncaught Error: Cannot find module './context-menu #6548
Description
I right-clicked on a folder in the tree view
Atom Version: 0.194.0
System: Windows 7 Entreprise
Thrown From: Atom Core
Stack Trace
Uncaught Error: Cannot find module './context-menu'
Error: Cannot find module './context-menu'
at Function.Module._resolveFilename (module.js:328:15)
at Function.Module._load (module.js:270:25)
at Module.require (module.js:357:17)
at require (module.js:376:17)
at BrowserWindow. (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\browser\atom-window.js:152:27)
at emitOne (events.js:77:13)
at BrowserWindow.emit (events.js:166:7)
at callFunction (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:116:18)
at EventEmitter. (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:208:14)
at emitMany (events.js:108:13)
At C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:77
Error: Cannot find module './context-menu'
Error: Cannot find module './context-menu'
at Function.Module._resolveFilename (module.js:328:15)
at Function.Module._load (module.js:270:25)
at Module.require (module.js:357:17)
at require (module.js:376:17)
at BrowserWindow.<anonymous> (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\browser\atom-window.js:152:27)
at emitOne (events.js:77:13)
at BrowserWindow.emit (events.js:166:7)
at callFunction (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:116:18)
at EventEmitter.<anonymous> (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:208:14)
at emitMany (events.js:108:13)
at metaToValue (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:77:15)
at BrowserWindow.RemoteMemberFunction [as emit] (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:111:26)
at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\context-menu-manager.js:170:31)
at HTMLDocument.<anonymous> (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\window-event-handler.js:149:33)
at HTMLDocument.handler (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\space-pen-extensions.js:112:34)
at HTMLDocument.jQuery.event.dispatch (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4681:9)
at HTMLDocument.elemData.handle (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4359:46)
Commands
-4:55.5.0 editor:checkout-head-revision (atom-text-editor.editor.is-focused)
2x -3:41.6.0 window:focus-pane-on-right (atom-text-editor.editor)
-3:17.5.0 application:add-project-folder (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
-2:47.4.0 editor:newline (atom-text-editor.editor.is-focused)
-2:38.2.0 core:cut (atom-text-editor.editor)
-2:36.5.0 core:paste (atom-text-editor.editor.is-focused)
-2:26.6.0 core:save (atom-text-editor.editor.is-focused)
-2:20.6.0 core:move-down (atom-text-editor.editor)
-2:20.4.0 autocomplete-plus:confirm (atom-text-editor.editor)
-2:15.8.0 core:save (atom-text-editor.editor)
-2:08.7.0 core:copy (atom-text-editor.editor.is-focused)
-2:01.2.0 core:paste (atom-text-editor.editor.is-focused)
-1:59.7.0 core:save (atom-text-editor.editor.is-focused)
-1:52.2.0 core:paste (atom-text-editor.editor.is-focused)
-1:51.6.0 core:save (atom-text-editor.editor.is-focused)
-1:30.6.0 core:backspace (atom-text-editor.editor)
Config
{
"core": {
"ignoredNames": [
"node_modules"
],
"themes": [
"atom-dark-ui",
"seti-syntax"
],
"disabledPackages": [
"Tern"
],
"projectHome": "Y:\\app-tfoumax"
},
"editor": {
"invisibles": {},
"softWrap": true,
"showIndentGuide": true
}
}Installed Packages
# User
autocomplete-plus, v2.12.0
autocomplete-snippets, v1.2.0
javascript-snippets, v1.0.0
jshint, v1.3.5
language-ejs, v0.1.0
linter, v0.12.1
pretty-json, v0.3.3
save-session, v0.14.0
Search, v0.4.0
seti-syntax, v0.4.0
# Dev
No dev packages
Activity
winstliu commentedon Apr 28, 2015
I'm going to keep this one open this time since it's started to come up a lot in 0.194.0-I don't believe that many people have messed up their installations so that this specific error keeps appearing.
@JbIPS can you reproduce this reliably? If so, could you please try reproducing it in safe mode (
atom --safe)?forestjohnsonilm commentedon Apr 28, 2015
this happened to me too -- http://pastebin.com/R5S7cerd
Restarting atom fixed it. It happened after copy and pasting a file, then right clicking the pasted file.
mnquintana commentedon Apr 28, 2015
@kevinsawicki Any chance this has to do with Atom updating from a non-asar to an asar release?
kevinsawicki commentedon Apr 28, 2015
It really shouldn't, if one file is in the asar archive then they all should be.
@zcbenz are there any related asar issues you know that might be what is going on here?
zcbenz commentedon Apr 29, 2015
It might be caused by the same reason with #6276.
kevinsawicki commentedon May 12, 2015
@JbIPS does this happen even when you restart Atom?
kevinsawicki commentedon May 12, 2015
Can anyone on Windows consistently reproduce this or is it intermittent?
Rakin05 commentedon May 12, 2015
I had the same Issue, after i installed "project-manager" and "view-tail-large-files". Restarting the Editor fixed the Issue.
JbIPS commentedon May 18, 2015
After uninstalling "project-manager" and restarting, I never saw this error again
Cynede commentedon May 18, 2015
@JbIPS same here
pmwhite commentedon Jun 22, 2015
I had this problem because I had two instances of atom running. I closed down one and right clicked and I still got the error. I closed down the other, restarted atom, and it worked fine.
[-]Uncaught Error: Cannot find module './context-menu[/-][+]Uncaught Error: Cannot find module './context-menu'Error: Cannot find module './context-menu' ...[/+]winstliu commentedon Jun 23, 2015
I've renamed this issue in an attempt to stop duplicate issues. If it doesn't work I'll go back to the nicer issue title.
izuzak commentedon Jun 26, 2015
This was also reported in #7443. In that issue, @janlueders and @james-Ballyhoo mentioned:
and
cc @kevinsawicki in case this helps track down the problem.
[-]Uncaught Error: Cannot find module './context-menu'Error: Cannot find module './context-menu' ...[/-][+]Uncaught Error: Cannot find module './context-menu[/+]lock commentedon Jan 21, 2019
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!