-
Notifications
You must be signed in to change notification settings - Fork 29.2k
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
Extensions using lodash no longer load in Insiders (issue with global) #60190
Comments
I believe this is the cause for Python Extension not loading as well #60196 (again related to global variable |
/duplicate #60168 |
Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines. Happy Coding! |
Fixed for me, thanks! |
Issue Type: Bug
This is a regression - it used to work fine in Insiders, and it still works fine in non-Insiders 1.27.2.
!) Extension fails to activate due to error here:
node_modules\gremlin\node_modules\lodash\index.js:718:
var arrayProto = Array.prototype, <<<<<<<<<<< Array is undefined
TypeError: Cannot read property 'prototype' of undefined
at runInContext (C:\Users\stephwe\Repos\vscode-cosmosdb\node_modules\gremlin\node_modules\lodash\index.js:718:28)
at Object. (C:\Users\stephwe\Repos\vscode-cosmosdb\node_modules\gremlin\node_modules\lodash\index.js:12320:11)
at Object. (C:\Users\stephwe\Repos\vscode-cosmosdb\node_modules\gremlin\node_modules\lodash\index.js:12351:3)
at Object. (C:\Users\stephwe\Repos\vscode-cosmosdb\node_modules\gremlin\node_modules\lodash\index.js:12353:3)
at Module.t._initNodeRequire.i._compile (c:\Users\stephwe\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\out\vs\loader.js:16:65)
This appears to have to do with the definition of "global" inside module loading. Here's the value of global in Insiders inside lodash:
And here it's value in regular vscode 1.27.2:
VS Code version: Code 1.27.2 (f46c4c4, 2018-09-12T16:57:45.963Z)
OS version: Windows_NT ia32 10.0.17763
System Info
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Extensions (7)
The text was updated successfully, but these errors were encountered: