armin-pfaeffle / sass-autocompile

Automatically compiles SASS files on save ‒ package for atom.io
https://atom.io/packages/sass-autocompile
MIT License
49 stars 16 forks source link

Atom package failing after updating to macOS Ventura 13.0 #184

Open nijakobius opened 1 year ago

nijakobius commented 1 year ago

Been using this Atom package forever. Today, after upgrading to macOS Ventura 13.0, it stopped working with the following error upon saving my .scss file:

Command failed: node-sass --output-style compressed --indent-style space --precision 5 "/Users/myname/Documents/Projekte/myProject/App/myproject/www/css/main.scss" /Users/myname/Documents/Projekte/myProject/App/myproject/www/css/main.css"

/usr/local/lib/node_modules/node-sass/lib/binding.js:13
      throw new Error(errors.unsupportedEnvironment());
      ^

Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (108)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v7.0.3
    at module.exports (/usr/local/lib/node_modules/node-sass/lib/binding.js:13:13)
    at Object.<anonymous> (/usr/local/lib/node_modules/node-sass/lib/index.js:13:35)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
    at Object.<anonymous> (/usr/local/lib/node_modules/node-sass/bin/node-sass:10:10)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)

Node.js v18.12.0

This is very strange because when I put THE SAME command node-sass --output-style compressed --indent-style space --precision 5 "/Users/myname/Documents/Projekte/myProject/App/myproject/www/css/main.scss" /Users/myname/Documents/Projekte/myProject/App/myproject/www/css/main.css" into Terminal it just works.

sass-autocompile 0.13.5 node-sass 7.0.3 node 18.12.0