My deploys are occasionaly failing

I’m trying to deploy a statics site that has a build step to compile sass. The node-sass module appears to be installed at the start of the process, but when node-sass is actually called it’s missing a file. To make it weird, it sometimes succeeds.

I tried changing the version of node-sass in package.json, tried clearing the cache on netlify and I followed the general guidelines outlined in sticky post above (except running a local docker image)

I get this (on clear cache deploy)

`Binary saved to /opt/build/repo/node_modules/node-sass/vendor/linux-x64-64/binding.node`

And then (sometimes)

`Error: Cannot find module '/opt/build/repo/node_modules/node-sass/vendor/linux-x64-64/binding.node'`

I kind of fixed my problem by using sass (pure javascript implementation) instead of node-sass. It might be possible there’s something wrong with the release binary of node-sass.

Awesome actually I think that node-sass is built in JavaScript and sass is actually built using the Dart language.

I’ve run into this problem before myself :joy::+1: