Is this possible to install node-sass offline proxy

I’m trying to install node-sass module using npm but each time an error displayed about a problem in network configuration that’s because i’m using proxy and private registry this is the error :

This is most likely not a problem with node-gyp or the package itself and is related to network connectivity In most cases you are behind a proxy or have bad network setting 

enter image description here

Is it possible to install this module offline ?

Answer

I had a similar problem, while trying to install node-sass behind a corporate proxy.

What you can try is:

  1. Download it locally from here:https://github.com/sass/node-sass/releases (choose the right one depending on your OS)
  2. Use the binary configuration parameter –sass-binary-path. to install it.

    npm install --sass-binary-path="C:srcv4.7.2win32-x64-57_binding.node"

Leave a Reply

Your email address will not be published. Required fields are marked *