node-sass icon indicating copy to clipboard operation
node-sass copied to clipboard

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

Open gix111 opened this issue 7 years ago • 12 comments

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

gix111 avatar Nov 08 '19 16:11 gix111

same with https://github.com/sass/node-sass/releases/download/v4.11.0/linux-x64-72_binding.node

something wrong with 72_binding ?

YannDanthu avatar Nov 08 '19 17:11 YannDanthu

Same issue for me

Castria avatar Nov 08 '19 17:11 Castria

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.

mklosterboer avatar Nov 08 '19 17:11 mklosterboer

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

nschonni avatar Nov 08 '19 17:11 nschonni

@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 avatar Nov 08 '19 18:11 mklosterboer

@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.

mklosterboer avatar Nov 08 '19 19:11 mklosterboer

@mklosterboer thanks for sharing your solution 👍

nschonni avatar Nov 09 '19 00:11 nschonni

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

donruperto avatar Nov 09 '19 08:11 donruperto

@mklosterboer Thanks! your suggestion worked

ohdihe avatar Nov 10 '19 01:11 ohdihe

@mklosterboer THANK YOU.

bcbuddy avatar Nov 19 '19 17:11 bcbuddy

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.

zuo305 avatar Dec 05 '19 04:12 zuo305

@mklosterboer The solution works. Thanks

j6967chen avatar May 19 '20 18:05 j6967chen