Skip to content

Commit

Permalink
Merge 33efc6c into 4115e9d
Browse files Browse the repository at this point in the history
  • Loading branch information
AWare committed Apr 14, 2021
2 parents 4115e9d + 33efc6c commit ae199ff
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
7 changes: 7 additions & 0 deletions TROUBLESHOOTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ should always follow these steps before opening a new issue.

## Installation

### Problems Downloading node-sass

If node-sass is unable to download the sass binary, please download the correct build
for your node version and platform from the [releases page](https://github.com/sass/node-sass/releases)
and use the [binary configuration parameters](https://github.com/sass/node-sass/blob/master/README.md#binary-configuration-parameters)
to manually use the downloaded binary. This may occur if your ISP/organisation is interfering with https connections.

### 404s

If you see a 404 when trying to install node-sass, this indicates that you're trying
Expand Down
1 change: 0 additions & 1 deletion scripts/util/downloadoptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ var proxy = require('./proxy'),
*/
module.exports = function() {
var options = {
rejectUnauthorized: false,
timeout: 60000,
headers: {
'User-Agent': userAgent(),
Expand Down
3 changes: 0 additions & 3 deletions test/downloadoptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ describe('util', function() {
describe('without a proxy', function() {
it('should look as we expect', function() {
var expected = {
rejectUnauthorized: false,
timeout: 60000,
headers: {
'User-Agent': ua(),
Expand All @@ -33,7 +32,6 @@ describe('util', function() {

it('should look as we expect', function() {
var expected = {
rejectUnauthorized: false,
proxy: proxy,
timeout: 60000,
headers: {
Expand All @@ -59,7 +57,6 @@ describe('util', function() {

it('should look as we expect', function() {
var expected = {
rejectUnauthorized: false,
timeout: 60000,
headers: {
'User-Agent': ua(),
Expand Down

0 comments on commit ae199ff

Please sign in to comment.