Node Sass with apple m1, Big Sur and arm64

I also had issues installing node-sass on M1, and ended up using the opportunity to replace it with sass, as recommended on the LibSass deprecation notice. https://sass-lang.com/blog/libsass-is-deprecated If you’re a user of Node Sass, migrating to Dart Sass is straightforward: just replace node-sass in your package.json file with sass. Both packages expose the same JavaScript … Read more

How to compile or convert sass / scss to css with node-sass (no Ruby)?

I picked node-sass implementer for libsass because it is based on node.js. Installing node-sass (Prerequisite) If you don’t have npm, install Node.js first. $ npm install -g node-sass installs node-sass globally -g. This will hopefully install all you need, if not read libsass at the bottom. How to use node-sass from Command line and npm … Read more

How to fix “ReferenceError: primordials is not defined” in Node.js

I hit the same error. I suspect you’re using Node.js 12 and Gulp.js 3. That combination does not work: Gulp.js 3 is broken on Node.js 12 #2324 A previous workaround from Jan. does not work either: After update to Node.js 11.0.0 running Gulp.js exits with ‘ReferenceError: internalBinding is not defined’ #2246 Solution: Either upgrade to … Read more