Error: Missing binding

I get this error as a pop up message when I try to create a new theme?
running npm rebuild node-sass did not solve the issue.

/home/frappe/frappe-bench/apps/frappe/node_modules/node-sass/lib/binding.js:15
throw new Error(errors.missingBinary());
^

Error: Missing binding /home/frappe/frappe-bench/apps/frappe/node_modules/node-sass/vendor/linux-x64-72/binding.node
Node Sass could not find a binding for your current environment: Linux 64-bit with Node.js 12.x

Found bindings for the following environments:
- OS X 64-bit with Node.js 16.x
- Linux 64-bit with Node.js 14.x

This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to download the binding for your current environment.
at module.exports (/home/frappe/frappe-bench/apps/frappe/node_modules/node-sass/lib/binding.js:15:13)
at Object. (/home/frappe/frappe-bench/apps/frappe/node_modules/node-sass/lib/index.js:13:35)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/home/frappe/frappe-bench/apps/frappe/generate_bootstrap_theme.js:1:14)
at Module._compile (internal/modules/cjs/loader.js:999:30)

For anyone having the same issue,

I downloaded binding.node file from here

and placed it on the below location
/home/frappe/frappe-bench/apps/frappe/node_modules/node-sass/vendor/linux-x64-72/binding.node

Then it worked!