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

extension cannot require('node-expat') (DLL initialization failed) #1589

Closed
siegebell opened this issue Dec 22, 2015 · 1 comment
Closed

Comments

@siegebell
Copy link

Calling "require('node-expat')" results in "Error: A dynamic link library (DLL) initialization routine failed"

Platforms: tested with Windows 8.1 64 and x86 (virtual machine)
Versions: VSCode 0.10.5, Node.js 4.1.1 ia64 or x86; or Node.js 5.3.0 ia64 or x86, Python 2.7.11, node-expat 2.3.9, Visual Studio 2013 Ultimate (on ia64) or 2015 Community (on x86)

On my ia64 machine, I have attempted installing both ia64 and x86 versions of Node.js and Python.

For x86, I performed a clean test on a fresh VM: installed VSCode 0.10.5, Node.js 5.3.0 x86, Python 2.7.11, and VS 2015 Community. Then I created the "Hello World" example (via yo), added "node-expat": "2.3.9" to the project dependencies, and then added "var x = require ('node-expat') to the extension initialization routine. When the extension activates, I get the above error.

... does VSCode support extensions with binary dependencies? Should this be documented?

EDIT: this appears to be a duplicate of bug #658

@bpasero
Copy link
Member

bpasero commented Dec 23, 2015

Yup, closing.

@bpasero bpasero closed this as completed Dec 23, 2015
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
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

2 participants