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

global variable is invalid when loading npm modules #60196

Closed
DonJayamanne opened this issue Oct 8, 2018 · 1 comment
Closed

global variable is invalid when loading npm modules #60196

DonJayamanne opened this issue Oct 8, 2018 · 1 comment

Comments

@DonJayamanne
Copy link
Contributor

  • VSCode Version: Insiders
  • OS Version: Macc

Steps to Reproduce:

  1. Install Python Extension
  2. Python extension fails to load

Does this issue occur when all extensions are disabled?: Yes

This applies to other extensions using reflect-metadata as well.

From what I can tell, loader.js seems to be doing something thats causing the global variable to point to something completely different.
Inside the module reflect-metadata, the value for global is:

Object {nodeRequire: }
nodeRequire:function (e){  }
__proto__:Object {constructor: , __defineGetter__: , __defineSetter__: , }
@vscodebot vscodebot bot added the insiders label Oct 8, 2018
@DonJayamanne
Copy link
Contributor Author

Closing as a duplicate of #60190

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant