-
Notifications
You must be signed in to change notification settings - Fork 582
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
MSVCP140 should not be needed #684
Comments
Node 14 to 17 |
So, node 14.17.0 should have worked then? Why didn't it? |
You can check each variable in this line https://github.com/uNetworking/uWebSockets.js/blob/binaries/uws.js#L20 |
@e3dio here is the system dump
this file |
That says Node 16, you said Node 14. You should also confirm what version uWS.js you are running, check the node_modules/uWebSockets.js/package.json file and see what version it says |
yes, i upgraded after you mentioned that its between 14-17 |
|
So it should be working for you, I can confirm Node 17 is working for the same system as yours, I don't have Node 16 set up to check |
ok lemme upgrade to 17 |
@e3dio yeah that did not fix it.. Here is the actual error
looks like the Also, not sure if this matters, I had v19.3.0 running successfully before the upgrade |
I see some things for Windows error "The specified module could not be found" for it not finding a DLL that it assumes to be there https://stackoverflow.com/questions/13471457/finding-dll-for-the-specified-module-could-not-be-found You could run Process Monitor and check for the error as described in link |
console.log(process.pid)
setTimeout(()=>require('uWebSockets.js'),15000) Run that code, in Process Monitor add filter on that Process ID and start capturing events, then the module will try to load and look for error towards the end |
@e3dio Ok, I got it resolved! Here is what I did
Indeed, three files needed to be downloaded
https://aka.ms/vs/17/release/vc_redist.x86.exe After installing and rebooting the server, the dependencies were found and I was able to run the WS server! ... just in case this helps someone =) |
I was going to say, looks like those 3 DLL were required |
Hi,
I am getting this error
Error: This version of µWS is not compatible with your Node.js build:
after upgrading to 20.6.0.I am running node v14.17.0
What is the new node version requirement?
The text was updated successfully, but these errors were encountered: