Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 98340

Cannot update application build in electron (The command is disabled and cannot be executed)

$
0
0

this has been puzzling me for a while. I seem to be unable to update applications build in electron (e.g. vscode or Neo4J Desktop).

Whenever I try to update any of the apps from UI, I get the following error message: "The command is disabled and cannot be executed". In vscode console this is the only thing I get. In neo4j console the error is bit more verbose:

Desktop.3a6631dff4ff…b83ce.bundle.js:104 [18:51:20.811] Action[UPDATE_ERROR] { error:
   { code: 1,
     domain: 'RACCommandErrorDomain',
     message: 'The command is disabled and cannot be executed',
     name: 'Error' },
  type: 'UPDATE_ERROR' }

Error: Error: The command is disabled and cannot be executed
    at Server.server.listen (/Applications/Neo4j Desktop.app/Contents/Resources/app.asar/node_modules/electron-updater/src/MacUpdater.ts:115:32)
    at Object.onceWrapper (events.js:273:13)
    at Server.emit (events.js:182:13)
    at Server.EventEmitter.emit (domain.js:442:20)
    at emitListeningNT (net.js:1364:10)
    at process._tickCallback (internal/process/next_tick.js:63:19)
From previous event:
    at Object.done (/Applications/Neo4j Desktop.app/Contents/Resources/app.asar/node_modules/electron-updater/src/MacUpdater.ts:55:11)
    at /Applications/Neo4j Desktop.app/Contents/Resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:529:25
    at Generator.next (<anonymous>)
From previous event:
    at done (/Applications/Neo4j Desktop.app/Contents/Resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:523:15)
    at /Applications/Neo4j Desktop.app/Contents/Resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:537:20
From previous event:
    at MacUpdater.executeDownload (/Applications/Neo4j Desktop.app/Contents/Resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:487:68)
    at /Applications/Neo4j Desktop.app/Contents/Resources/app.asar/node_modules/electron-updater/src/MacUpdater.ts:48:23
From previous event:
    at MacUpdater.doDownloadUpdate (/Applications/Neo4j Desktop.app/Contents/Resources/app.asar/node_modules/electron-updater/src/MacUpdater.ts:29:80)
    at /Applications/Neo4j Desktop.app/Contents/Resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:393:25
    at Generator.next (<anonymous>)
    at runCallback (timers.js:696:18)
    at tryOnImmediate (timers.js:667:5)
    at processImmediate (timers.js:649:5)
    at process.topLevelDomainCallback (domain.js:121:23)
From previous event:
    at MacUpdater.downloadUpdate (/Applications/Neo4j Desktop.app/Contents/Resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:382:86)
    at callFunction (/Applications/Neo4j Desktop.app/Contents/Resources/electron.asar/browser/rpc-server.js:250:18)
    at EventEmitter.<anonymous> (/Applications/Neo4j Desktop.app/Contents/Resources/electron.asar/browser/rpc-server.js:360:5)
    at EventEmitter.emit (events.js:182:13)
    at EventEmitter.emit (domain.js:442:20)
    at WebContents.<anonymous> (/Applications/Neo4j Desktop.app/Contents/Resources/electron.asar/browser/api/web-contents.js:293:13)
    at WebContents.emit (events.js:182:13)
    at WebContents.EventEmitter.emit (domain.js:442:20)
    at WebContents.topLevelDomainCallback (domain.js:121:23)
(anonymous) @   Desktop.3a6631dff4ff…b83ce.bundle.js:104

This has been happening on vscode from about version 1.35 and even on the previous OS 10.14 (update to catalina did not help). Problem with Neo4J Desktop is there from the very beginning I believe. Anyone any thoughts what might have gone wrong?

Thank you

My setup

vscode version: 1.39.2 Commit: 6ab598523be7a800d7f3eb4d92d7ab9a66069390 Date: 2019-10-15T15:33:00.827Z Electron: 4.2.10 Chrome: 69.0.3497.128 Node.js: 10.11.0 V8: 6.9.427.31-electron.0 OS: Darwin x64 19.0.0 neo4j Desktop: 1.1.13 (1.1.13.599)


Viewing all articles
Browse latest Browse all 98340

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>