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

Unable to load Edge on Azure Worker Role #157

Closed
tomusdrw opened this issue Jun 19, 2014 · 4 comments
Closed

Unable to load Edge on Azure Worker Role #157

tomusdrw opened this issue Jun 19, 2014 · 4 comments

Comments

@tomusdrw
Copy link

Hi!
I'm trying to run Node application as Azure Worker Role (Win Server 2012 R2). I have trouble loading Edge.

PS F:\approot\bin> node -v
v0.8.4
PS F:\approot\bin> node -e "require('edge')"

module.js:485
  process.dlopen(filename, module.exports);
          ^
Error: The specified procedure could not be found.
F:\approot\node_modules\edge\lib\native\win32\ia32\0.8.22\edge.node
    at Object.Module._extensions..node (module.js:485:11)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:362:17)
    at require (module.js:378:17)
    at Object.<anonymous> (F:\approot\node_modules\edge\lib\edge.js:27:12)
    at Module._compile (module.js:449:26)
    at Object.Module._extensions..js (module.js:467:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
PS F:\approot\bin>

I thought it might be related to #85 but actually when I traced execution using Process Monitor edge.node successfuly finds msvcr120.dll

@tomusdrw
Copy link
Author

I just recalled that it was working fine on Node 0.6.17, but now it's not supported.

@tjanczuk
Copy link
Owner

Can you try with a more recent version of Node? If you need 0.8.x, try 0.8.22 or later. Or use the latest 0.10.x.

@tomusdrw
Copy link
Author

According to https://azure.microsoft.com/pl-pl/documentation/articles/nodejs-specify-node-version-azure-apps/ Azure supports only those versions: 0.6.17, 0.6.20, and 0.8.4. I would love to migrate to 0.10.x, do you know if it's possible using Azure Worker Role?

I'm testing on my local machine with 0.10.26 and it works perfectly fine.
Now I'm stuck with Node 0.6.20 and Edge 0.7.0 in cloud - cause this configuration works fine.

@tomusdrw
Copy link
Author

tomusdrw commented Nov 8, 2014

Closing, since different node version are supported on Azure.
To list all versions run Get-AzureServiceProjectRoleRuntime in Azure Powershell.

@tomusdrw tomusdrw closed this as completed Nov 8, 2014
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

2 participants