Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

socket (10106) error node

Tags:

node.js

npm

I'm trying to use any of the NodeJS or NPM commands but I always got the following error:

socket: (10106) The requested service provider could not be loaded or initialized.

I'm running Windows 10, I tried to re-installed the nodejs again but still the same.

like image 629
Amr Reda Avatar asked Mar 05 '26 16:03

Amr Reda


1 Answers

Found the solution to my problem: http://www.pcreview.co.uk/forums/asp-net-state-service-wont-start-t3422497.html

This sounds like a Winsock problem, not a problem with Nodejs itself. You can reset your Winsock installation to setup defaults by following the instructions from this KB article:

http://support.microsoft.com/kb/811259

(The short version of this is to use netsh winsock reset from a command prompt.)

I reset my winsock installation and rebooted.

Problem solved.

like image 118
Amr Reda Avatar answered Mar 07 '26 04:03

Amr Reda



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!