Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Today's 1.29 Insiders Breaks Extensions #60168

Closed
Astrantia opened this issue Oct 8, 2018 · 14 comments
Closed

Today's 1.29 Insiders Breaks Extensions #60168

Astrantia opened this issue Oct 8, 2018 · 14 comments
Assignees
Labels
extensions Issues concerning extensions important Issue identified as high-priority
Milestone

Comments

@Astrantia
Copy link

Astrantia commented Oct 8, 2018

Logs:

[Extension Host] Activating extension `vscodevim.vim` failed:  Cannot read property 'prototype' of undefined (at c:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\node\extensionHostProcess.js:295:9)
console.ts:134 
[Extension Host] Activating extension 'vscodevim.vim' failed: Cannot read property 'prototype' of undefined. (at Object.showMessage (c:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\node\extensionHostProcess.js:623:628)) console.ts:134 
[Extension Host] Activating extension 'esbenp.prettier-vscode' failed: Super expression must either be null or a function. (at Object.showMessage (c:\Program Files\Microsoft VS Code\Insiders\resources\app\out\vs\workbench\node\extensionHostProcess.js:623:628))
console.ts:134 
[Extension Host] Activating extension `esbenp.prettier-vscode` failed:  Super expression must either be null or a function (at c:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\node\extensionHostProcess.js:295:9)
@vscodebot vscodebot bot added the extensions Issues concerning extensions label Oct 8, 2018
@Astrantia
Copy link
Author

cc @bpasero @sandy081

@octref octref added the important Issue identified as high-priority label Oct 8, 2018
@octref octref assigned alexdima and sandy081 and unassigned alexdima Oct 8, 2018
@Astrantia
Copy link
Author

Note that this didn't break all of my extensions, only some:

CoenraadS.bracket-pair-colorizer
esbenp.prettier-vscode
vscodevim.vim

@JCMais
Copy link

JCMais commented Oct 8, 2018

Same issue here, using Insiders

Version: 1.29.0-insider (user setup)
Commit: 1358e903716cf77711493770d63dde1ea178a73e
Date: 2018-10-08T05:16:11.119Z
Electron: 2.0.9
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architecture: x64

@carlocardella
Copy link
Member

same:

Version: 1.29.0-insider (user setup)
Commit: 1358e90
Date: 2018-10-08T05:16:11.119Z
Electron: 2.0.9
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architecture: x64

@egamma egamma added the candidate Issue identified as probable candidate for fixing in the next release label Oct 8, 2018
@egamma egamma added this to the September Recovery 2018 milestone Oct 8, 2018
@egamma egamma removed the candidate Issue identified as probable candidate for fixing in the next release label Oct 8, 2018
@egamma
Copy link
Member

egamma commented Oct 8, 2018

Cannot reproduce in stable 1.28 and the comments above are all referring to the insider version.

@suciuvlad

This comment has been minimized.

@sstoychev
Copy link

Same here, broke liximomo.sftp although I don't see any errors in the logs.

Version: 1.29.0-insider (user setup)
Commit: 1358e90
Date: 2018-10-08T05:16:11.119Z
Electron: 2.0.9
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architecture: x64

@DonJayamanne
Copy link
Contributor

Most probably a dup of #60190 (global variable is incorrect in npm modules)

@ArtemGovorov
Copy link
Contributor

Looks like some loader/require hooks changes had broken node globals.

Here is a simple way to reproduce the issue:

extension.js

require('./initGlobals');
console.log(myGlobal); // <-- breaks, but used to work

initGlobals.js

global.myGlobal = 'test';

@Astrantia
Copy link
Author

@Tyriar @bpasero Can we get recoveries for Insiders within the same day when there's issues like this? I only use Insiders so I would appreciate more attention over here.

@BlackHoleFox
Copy link

Had this issue as well, it completely broke the Microsoft Python extension.

@jrieken
Copy link
Member

jrieken commented Oct 9, 2018

This might be related to us now using cached data for extensions

@jrieken jrieken assigned jrieken and unassigned sandy081 Oct 9, 2018
@jrieken
Copy link
Member

jrieken commented Oct 9, 2018

Workaround is to start with --no-cached-data, fix is on its way...

@jrieken
Copy link
Member

jrieken commented Oct 9, 2018

The is fixed in 1.29.0 c1100eff93b35dc220ce63e2ed0d5ace54259795

@jrieken jrieken closed this as completed Oct 9, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
extensions Issues concerning extensions important Issue identified as high-priority
Projects
None yet
Development

No branches or pull requests