Install socket.io offline

When I try to install socket.io using npm, I get the following errors.

enter image description here

Recently, our Indian government has blocked access to github. Therefore, I do not have access to github. see news here

So, I tried to install socket.io offline. Download socket.io.master from here (Thanks @Vitaliy Zurian for this link

npm install socket.io.master

Even then it failed because it is extracting dependencies from git.

so my questions are these:

Is there a step-by-step guide on installing socket.io offline?

or

Is there an alternative installer for socket.io?

+4
source share
1

, :

npm install /path/to/your/local/socket.io --save

. npm docs

+1

Source: https://habr.com/ru/post/1570003/


All Articles