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

Edge Fails to load or install cleanly on Windows 2008 R2 #247

Closed
BenAHammond opened this issue Mar 5, 2015 · 10 comments
Closed

Edge Fails to load or install cleanly on Windows 2008 R2 #247

BenAHammond opened this issue Mar 5, 2015 · 10 comments

Comments

@BenAHammond
Copy link

Installation gives the following message:


[Error: The specified module could not be found.
C:\Users\bahammon\Desktop\CircuitCommentProcessing\node_modules\edge\lib\native
win32\x64\0.10.0\edge.node]


Success: platform check for edge.js: node.js x64 v0.10.26
edge@0.10.0 node_modules\edge
├── nan@1.7.0
└── edge-cs@0.2.7

And trying to run an otherwise tested application gives the following error:

CircuitCommentProcessing\bin\Release\

module.js:356
Module._extensions[extension](this, filename);
^
Error: The specified module could not be found.

C:\Users\bahammon\Desktop\CircuitCommentProcessing\node_modules\edge\lib\native\win32\x64\0.10.0\edge.node
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (C:\Users\bahammon\Desktop\CircuitCommentProcessing\node_modules\edge\lib\edge.js:41:8)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
error: Forever detected script exited with code: 8

I verified that this file exists:
C:\Users\bahammon\Desktop\CircuitCommentProcessing\node_modules\edge\lib\native\win32\x64\0.10.0\edge.node

And manually installed the latest .Net framework and verified its configuration. Help?

@tjanczuk
Copy link
Owner

tjanczuk commented Mar 6, 2015

I am unable to reproduce this on Windows 8.

What is the OS version?

Can you try running Process Monitor to see if any errors are reported while node loads the edge module? (e.g. missing DLL dependencies)

@BenAHammond
Copy link
Author

I solved it by installing the previous version. It has something to do with
the latest release.

On Thu, Mar 5, 2015 at 4:53 PM, Tomasz Janczuk notifications@github.com
wrote:

I am unable to reproduce this on Windows 8.

What is the OS version?

Can you try running Process Monitor
https://technet.microsoft.com/en-us/library/bb896645.aspx to see if any
errors are reported while node loads the edge module? (e.g. missing DLL
dependencies)


Reply to this email directly or view it on GitHub
#247 (comment).

@davidTurczi
Copy link

Is it related to #246 and #242?

@BenAHammond
Copy link
Author

Yes, I believe it is. Close as a dupe?

On Fri, Mar 6, 2015 at 5:23 AM, davidTurczi notifications@github.com
wrote:

Is it related to #246 #246 and
#242 #242?


Reply to this email directly or view it on GitHub
#247 (comment).

@davidTurczi
Copy link

Well as long as the others are fixed :)

@ludoviclefevre
Copy link

Hi thomasz,

I had the same error on a Windows 2008 Server R2. My app worked on windows 7.

When I launched process monitor on server, i saw a problem when trying accessing msvcp120.dll. So I took this file from my computer and put it to node_modules\edge\lib\native\win32\x64\0.10.0 directory
on server and it worked.

Maybe this file should be embedded in project and copied when building like msvcr120.dll?

What's your opinion about that?

Best regards.

Ludovic LEFEVRE

@tjanczuk
Copy link
Owner

tjanczuk commented Mar 6, 2015

@ludoviclefevre splendid, thank you for the data. Yes upon further investigation it appears msvcp120.dll is a new native dependency of edge 0.10.0 compared to 0.9.x. This is likely due to a major refactoring of code to use nan in order to support node 0.12. nan must have taken dependency on msvcp120.dll.

I agree the proper fix is to ship edge with msvcp120.dll. I the meantime a workaround of installing VC++ Redist for VS 2013 should also do the trick.

@tjanczuk
Copy link
Owner

tjanczuk commented Mar 6, 2015

Edge 0.10.1 just shipped and it should fix the issue. Can you take it for the spin?

@BenAHammond
Copy link
Author

All fixed, thanks!

On Fri, Mar 6, 2015 at 10:20 AM, Tomasz Janczuk notifications@github.com
wrote:

Edge 0.10.1 just shipped and it should fix the issue. Can you take it for
the spin?


Reply to this email directly or view it on GitHub
#247 (comment).

@tjanczuk
Copy link
Owner

tjanczuk commented Mar 6, 2015

Great, thanks for confirming.

This was referenced Mar 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants