Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

[Unsupported] Azure Dev-ops: Installing node-sass 4.10 on Node 12 #2779

Closed
gix111 opened this issue Nov 8, 2019 · 12 comments
Closed

[Unsupported] Azure Dev-ops: Installing node-sass 4.10 on Node 12 #2779

gix111 opened this issue Nov 8, 2019 · 12 comments

Comments

@gix111
Copy link

gix111 commented Nov 8, 2019

Hey,

we´re using Microsoft Azure Dev Ops build pipeline with a npm plugin for our SASS files.
At the moment the https://github.com/sass/node-sass/releases/download/v4.10.0/win32-x64-72_binding.node" is not reachable.

So we are not able to compile our files.

We also get a 404 to this link:
https://github.com/sass/node-sass/releases/download/v4.10.0/win32-x64-72_binding.node

@YannDanthu
Copy link

YannDanthu commented Nov 8, 2019

@Castria
Copy link

Castria commented Nov 8, 2019

Same issue for me

@mklosterboer
Copy link

Same issue. Started today. First build that failed was at 8:48 AM CST.
Let me know if I can provide any info to help investigate.

@nschonni
Copy link
Contributor

nschonni commented Nov 8, 2019

This is answered in the issue template you ignored https://github.com/sass/node-sass/blob/master/TROUBLESHOOTING.md#404s

@nschonni nschonni closed this as completed Nov 8, 2019
@nschonni nschonni changed the title Cannot download "https://github.com/sass/node-sass/releases/download/v4.10.0/win32-x64-72_binding.node" [Unsupported] Installing node-sass 4.10 on Node 12 Nov 8, 2019
@mklosterboer
Copy link

@nschonni Excuse my ignorance, but this is running in a pipeline on Azure DevOps that has been unchanged for several months.
This has started failing repeatedly today for the first time.
An unsupported Environment seems and unlikely resolution to this issue. Especially with 4 people reporting the issue within an hour.

Is there any other guidance you could offer or avenues we could research to determine what has changed that would cause 4 unrelated projects to begin failing builds within hours of each other?

@mklosterboer
Copy link

mklosterboer commented Nov 8, 2019

@gix111 @YannDanthu @Castria

For anyone who is still having this issue, Node recently moved 12.x to LTS, and it seems like Azure DevOps is now using Node 12.x instead of Node 10.x for builds when the node version isn't specified.

To resolve the issue, I added a Node.js Tool Installer task build step to our build pipeline to specify which version of Node to use for Node commands.

@nschonni
Copy link
Contributor

nschonni commented Nov 9, 2019

@mklosterboer thanks for sharing your solution 👍

@donruperto
Copy link

@mklosterboer thx for your solution, worked for me as well

@saper saper changed the title [Unsupported] Installing node-sass 4.10 on Node 12 [Unsupported] Azure Dev-ops: Installing node-sass 4.10 on Node 12 Nov 9, 2019
@ohdihe
Copy link

ohdihe commented Nov 10, 2019

@mklosterboer
Thanks! your suggestion worked

@bcbuddy
Copy link

bcbuddy commented Nov 19, 2019

@mklosterboer
THANK YOU.

@zuo305
Copy link

zuo305 commented Dec 5, 2019

Yes. I update the node-sass to v.4.13, it is working fine on my local and Azure Dev-ops too. Only one thing is stranger, after build "node-sass\vendor\win32-x64-72\binding.node" success. It still shows "Cannot download "xxx/node-sass/v4.13.0/win32-x64-72_binding.node", it does not make sense.

@j6967chen
Copy link

@mklosterboer The solution works. Thanks

jiongle1 pushed a commit to scantist-ossops-m2/node-sass that referenced this issue Apr 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants