PS C:GitHubvscode2vscode> scriptscode.bat
[13:07:19] Syncronizing built-in extensions...
[13:07:19] You can manage built-in extensions with the --builtin flag
[13:07:19] [marketplace] ms-vscode.node-debug@1.30.4 ??
[13:07:19] [marketplace] ms-vscode.node-debug2@1.30.3 ??
[13:07:19] [marketplace] ms-vscode.references-view@0.0.19 ??
Failed to load browser extensions from directory: C:UsersAdministratorAppDataRoamingagree-vscodeDevTools Extensions
{ Error: ENOENT: no such file or directory, open 'C:UsersAdministratorAppDataRoamingagree-vscodeDevTools Extensions'
at Object.fs.openSync (fs.js:577:3)
at Object.module.(anonymous function) [as openSync] (ELECTRON_ASAR.js:166:20)
at Object.fs.readFileSync (fs.js:483:33)
at Object.fs.readFileSync (ELECTRON_ASAR.js:563:29)
at App.<anonymous> (C:GitHubvscode2vscode.buildelectron
esourceselectron.asarrowserchrome-extension.js:419:52)
at Object.onceWrapper (events.js:273:13)
at App.emit (events.js:187:15)
errno: -4058,
syscall: 'open',
code: 'ENOENT',
path:
'C:\Users\Administrator\AppData\Roaming\agree-vscode\DevTools Extensions' }
https://github.com/electron/electron/pull/15992
以下版本修复
Fixed (3.0.11) in 3.0.x
Fixed in 3.1.0-beta.3 in 3.1.x