[SOLVED] - Unmaintained fourseven:scss package

I’ve been using fourseven:scss for years past its death, but now I now get the error below when trying to start meteor. (url is a 404 page).

In my project, on (meteor 2.7.3), scss is a dependency of bootstrap (the project is super old!!!) so I would have to either remove bootstrap, switch the way I include bootstrap, or replace scss with a working version.

The weird thing is, the last time I updated this project, it was on meteor 2.7.3, on the very same computer, and it worked.

The error…

=> Errors prevented startup:
   
   While loading package fourseven:scss@4.15.0:
   error: Command failed:
   /Users/james/.meteor/packages/meteor-tool/.2.7.3.1liadnk.e36f++os.osx.arm64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.arm64/dev_bundle/bin/npm
   rebuild --update-binary
   Cannot download
   "https://github.com/sass/node-sass/releases/download/v4.14.1/darwin-arm64-83_binding.node": 
   
   HTTP error 404 Not Found
   
   Hint: If github.com is not accessible in your location
   try setting a proxy via HTTP_PROXY, e.g. 
   
   export HTTP_PROXY=http://example.com:1234
   
   or configure npm proxy via
   
   npm config set proxy http://example.com:8080
   gyp info it worked if it ends with ok
   gyp verb cli [
   gyp verb cli
   '/Users/james/.meteor/packages/meteor-tool/.2.7.3.1liadnk.e36f++os.osx.arm64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.arm64/dev_bundle/bin/node',
   gyp verb cli
   '/Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/node-gyp/bin/node-gyp.js',
   gyp verb cli   'rebuild',
   gyp verb cli   '--verbose',
   gyp verb cli   '--libsass_ext=',
   gyp verb cli   '--libsass_cflags=',
   gyp verb cli   '--libsass_ldflags=',
   gyp verb cli   '--libsass_library='
   gyp verb cli ]
   gyp info using node-gyp@3.8.0
   gyp info using node@14.19.3 | darwin | arm64
   gyp verb command rebuild []
   gyp verb command clean []
   gyp verb clean removing "build" directory
   gyp verb command configure []
   gyp verb check python checking for Python executable "python2" in the PATH
   gyp verb `which` failed Error: not found: python2
   gyp verb `which` failed     at getNotFoundError
   (/Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:13:12)
   gyp verb `which` failed     at F
   (/Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:68:19)
   gyp verb `which` failed     at E
   (/Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:80:29)
   gyp verb `which` failed     at
   /Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:89:16
   gyp verb `which` failed     at
   /Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/isexe/index.js:42:5
   gyp verb `which` failed     at
   /Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/isexe/mode.js:8:5
   gyp verb `which` failed     at FSReqCallback.oncomplete (fs.js:192:21)
   gyp verb `which` failed  python2 Error: not found: python2
   gyp verb `which` failed     at getNotFoundError
   (/Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:13:12)
   gyp verb `which` failed     at F
   (/Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:68:19)
   gyp verb `which` failed     at E
   (/Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:80:29)
   gyp verb `which` failed     at
   /Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:89:16
   gyp verb `which` failed     at
   /Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/isexe/index.js:42:5
   gyp verb `which` failed     at
   /Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/isexe/mode.js:8:5
   gyp verb `which` failed     at FSReqCallback.oncomplete (fs.js:192:21) {
   gyp verb `which` failed   code: 'ENOENT'
   gyp verb `which` failed }
   gyp verb check python checking for Python executable "python" in the PATH
   gyp verb `which` failed Error: not found: python
   gyp verb `which` failed     at getNotFoundError
   (/Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:13:12)
   gyp verb `which` failed     at F
   (/Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:68:19)
   gyp verb `which` failed     at E
   (/Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:80:29)
   gyp verb `which` failed     at
   /Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:89:16
   gyp verb `which` failed     at
   /Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/isexe/index.js:42:5
   gyp verb `which` failed     at
   /Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/isexe/mode.js:8:5
   gyp verb `which` failed     at FSReqCallback.oncomplete (fs.js:192:21)
   gyp verb `which` failed  python Error: not found: python
   gyp verb `which` failed     at getNotFoundError
   (/Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:13:12)
   gyp verb `which` failed     at F
   (/Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:68:19)
   gyp verb `which` failed     at E
   (/Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:80:29)
   gyp verb `which` failed     at
   /Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:89:16
   gyp verb `which` failed     at
   /Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/isexe/index.js:42:5
   gyp verb `which` failed     at
   /Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/isexe/mode.js:8:5
   gyp verb `which` failed     at FSReqCallback.oncomplete (fs.js:192:21) {
   gyp verb `which` failed   code: 'ENOENT'
   gyp verb `which` failed }
   gyp ERR! configure error 
   gyp ERR! stack Error: Can't find Python executable "python", you can set the
   PYTHON env variable.
   gyp ERR! stack     at PythonFinder.failNoPython
   (/Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/node-gyp/lib/configure.js:484:19)
   gyp ERR! stack     at PythonFinder.<anonymous>
   (/Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/node-gyp/lib/configure.js:406:16)
   gyp ERR! stack     at F
   (/Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:68:16)
   gyp ERR! stack     at E
   (/Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:80:29)
   gyp ERR! stack     at
   /Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:89:16
   gyp ERR! stack     at
   /Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/isexe/index.js:42:5
   gyp ERR! stack     at
   /Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/isexe/mode.js:8:5
   gyp ERR! stack     at FSReqCallback.oncomplete (fs.js:192:21)
   gyp ERR! System Darwin 21.6.0
   gyp ERR! command
   "/Users/james/.meteor/packages/meteor-tool/.2.7.3.1liadnk.e36f++os.osx.arm64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.arm64/dev_bundle/bin/node"
   "/Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/node-gyp/bin/node-gyp.js"
   "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags="
   "--libsass_ldflags=" "--libsass_library="
   gyp ERR! cwd
   /Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/.temp-i2ugb9.3mit/node_modules/node-sass
   gyp ERR! node -v v14.19.3
   gyp ERR! node-gyp -v v3.8.0
   gyp ERR! not ok 
   Build failed with error code: 1
   npm ERR! code ELIFECYCLE
   npm ERR! errno 1
   npm ERR! node-sass@4.14.1 postinstall: `node scripts/build.js`
   npm ERR! Exit status 1
   npm ERR! 
   npm ERR! Failed at the node-sass@4.14.1 postinstall script.
   npm ERR! This is probably not a problem with npm. There is likely additional
   logging output above.
   
   npm ERR! A complete log of this run can be found in:
   npm ERR!     /Users/james/.npm/_logs/2022-08-31T14_35_55_898Z-debug.log
   Cannot download
   "https://github.com/sass/node-sass/releases/download/v4.14.1/darwin-arm64-83_binding.node": 
   
   HTTP error 404 Not Found
   
   Hint: If github.com is not accessible in your location
   try setting a proxy via HTTP_PROXY, e.g. 
   
   export HTTP_PROXY=http://example.com:1234
   
   or configure npm proxy via
   
   npm config set proxy http://example.com:8080
   gyp info it worked if it ends with ok
   gyp verb cli [
   gyp verb cli
   '/Users/james/.meteor/packages/meteor-tool/.2.7.3.1liadnk.e36f++os.osx.arm64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.arm64/dev_bundle/bin/node',
   gyp verb cli
   '/Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/node-gyp/bin/node-gyp.js',
   gyp verb cli   'rebuild',
   gyp verb cli   '--verbose',
   gyp verb cli   '--libsass_ext=',
   gyp verb cli   '--libsass_cflags=',
   gyp verb cli   '--libsass_ldflags=',
   gyp verb cli   '--libsass_library='
   gyp verb cli ]
   gyp info using node-gyp@3.8.0
   gyp info using node@14.19.3 | darwin | arm64
   gyp verb command rebuild []
   gyp verb command clean []
   gyp verb clean removing "build" directory
   gyp verb command configure []
   gyp verb check python checking for Python executable "python2" in the PATH
   gyp verb `which` failed Error: not found: python2
   gyp verb `which` failed     at getNotFoundError
   (/Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:13:12)
   gyp verb `which` failed     at F
   (/Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:68:19)
   gyp verb `which` failed     at E
   (/Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:80:29)
   gyp verb `which` failed     at
   /Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:89:16
   gyp verb `which` failed     at
   /Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/isexe/index.js:42:5
   gyp verb `which` failed     at
   /Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/isexe/mode.js:8:5
   gyp verb `which` failed     at FSReqCallback.oncomplete (fs.js:192:21)
   gyp verb `which` failed  python2 Error: not found: python2
   gyp verb `which` failed     at getNotFoundError
   (/Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:13:12)
   gyp verb `which` failed     at F
   (/Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:68:19)
   gyp verb `which` failed     at E
   (/Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:80:29)
   gyp verb `which` failed     at
   /Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:89:16
   gyp verb `which` failed     at
   /Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/isexe/index.js:42:5
   gyp verb `which` failed     at
   /Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/isexe/mode.js:8:5
   gyp verb `which` failed     at FSReqCallback.oncomplete (fs.js:192:21) {
   gyp verb `which` failed   code: 'ENOENT'
   gyp verb `which` failed }
   gyp verb check python checking for Python executable "python" in the PATH
   gyp verb `which` failed Error: not found: python
   gyp verb `which` failed     at getNotFoundError
   (/Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:13:12)
   gyp verb `which` failed     at F
   (/Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:68:19)
   gyp verb `which` failed     at E
   (/Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:80:29)
   gyp verb `which` failed     at
   /Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:89:16
   gyp verb `which` failed     at
   /Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/isexe/index.js:42:5
   gyp verb `which` failed     at
   /Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/isexe/mode.js:8:5
   gyp verb `which` failed     at FSReqCallback.oncomplete (fs.js:192:21)
   gyp verb `which` failed  python Error: not found: python
   gyp verb `which` failed     at getNotFoundError
   (/Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:13:12)
   gyp verb `which` failed     at F
   (/Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:68:19)
   gyp verb `which` failed     at E
   (/Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:80:29)
   gyp verb `which` failed     at
   /Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:89:16
   gyp verb `which` failed     at
   /Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/isexe/index.js:42:5
   gyp verb `which` failed     at
   /Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/isexe/mode.js:8:5
   gyp verb `which` failed     at FSReqCallback.oncomplete (fs.js:192:21) {
   gyp verb `which` failed   code: 'ENOENT'
   gyp verb `which` failed }
   gyp ERR! configure error 
   gyp ERR! stack Error: Can't find Python executable "python", you can set the
   PYTHON env variable.
   gyp ERR! stack     at PythonFinder.failNoPython
   (/Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/node-gyp/lib/configure.js:484:19)
   gyp ERR! stack     at PythonFinder.<anonymous>
   (/Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/node-gyp/lib/configure.js:406:16)
   gyp ERR! stack     at F
   (/Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:68:16)
   gyp ERR! stack     at E
   (/Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:80:29)
   gyp ERR! stack     at
   /Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:89:16
   gyp ERR! stack     at
   /Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/isexe/index.js:42:5
   gyp ERR! stack     at
   /Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/isexe/mode.js:8:5
   gyp ERR! stack     at FSReqCallback.oncomplete (fs.js:192:21)
   gyp ERR! System Darwin 21.6.0
   gyp ERR! command
   "/Users/james/.meteor/packages/meteor-tool/.2.7.3.1liadnk.e36f++os.osx.arm64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.arm64/dev_bundle/bin/node"
   "/Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/node-gyp/bin/node-gyp.js"
   "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags="
   "--libsass_ldflags=" "--libsass_library="
   gyp ERR! cwd
   /Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/.temp-i2ugb9.3mit/node_modules/node-sass
   gyp ERR! node -v v14.19.3
   gyp ERR! node-gyp -v v3.8.0
   gyp ERR! not ok 
   Build failed with error code: 1
   npm ERR! code ELIFECYCLE
   npm ERR! errno 1
   npm ERR! node-sass@4.14.1 postinstall: `node scripts/build.js`
   npm ERR! Exit status 1
   npm ERR! 
   npm ERR! Failed at the node-sass@4.14.1 postinstall script.
   npm ERR! This is probably not a problem with npm. There is likely additional
   logging output above.
   
   npm ERR! A complete log of this run can be found in:
   npm ERR!     /Users/james/.npm/_logs/2022-08-31T14_35_55_898Z-debug.log
   
   
   While loading plugin `compileScssBatch` from package `fourseven:scss`:

   /Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/node-sass/lib/binding.js:13:13:
   Node Sass does not yet support your current environment: OS X Unsupported
   architecture (arm64) with Node.js 14.x
   For more information on which environments are supported please see:
   https://github.com/sass/node-sass/releases/tag/v4.14.1
   at module.exports
   (/Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/node-sass/lib/binding.js:13:13)
   at Object.<anonymous>
   (/Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/node-sass/lib/index.js:14:35)
   at Module._compile (internal/modules/cjs/loader.js:1085:14)
   at Module.Mp._compile (/tools/static-assets/server/runtime.js:78:21)
   at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
   at Module.load (internal/modules/cjs/loader.js:950:32)
   at Module.Mp.load (/tools/static-assets/server/runtime.js:35:31)
   at Function.Module._load (internal/modules/cjs/loader.js:790:12)
   at Module.require (internal/modules/cjs/loader.js:974:19)
   at require (internal/modules/cjs/helpers.js:101:18)
   at npmRequire (/tools/isobuild/bundler.js:2280:14)
   at Module.useNode (packages/modules-runtime.js:664:18)
   at module (packages/compileScssBatch/plugin/compile-scss.js:361:2)
   at fileEvaluate (packages/modules-runtime.js:336:7)
   at Module.require (packages/modules-runtime.js:238:14)
   at Module.moduleLink
   (/Users/james/.meteor/packages/fourseven_scss/.4.15.0.10lp6u9.hsz2++os+web.browser+web.browser.legacy+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/modules/node_modules/reify/lib/runtime/index.js:52:22)
   at packages/compileScssBatch/plugin/compile-scss.js:1:18
   at module (packages/compileScssBatch/plugin/compile-scss.js:361:2)
   at fileEvaluate (packages/modules-runtime.js:336:7)
   at Module.require (packages/modules-runtime.js:238:14)
   at require (packages/modules-runtime.js:258:21)
   at packages/compileScssBatch/plugin/compile-scss.js:361:2
   at packages/compileScssBatch/plugin/compile-scss.js:361:2
   
   
=> Your application has errors. Waiting for file change.

Your architecture is not supported in relation with any Node version up to 17.

I am also on M1, I use the package with Meteor 2.7.3 with no issues. I wonder do you use a custom Node 14 on your machine, the one adapted for ARM? On Mac, Node is supposed to run in Rosetta. (Nodejs 14.x doesn't compile on ARM OSX (M1) · Issue #36161 · nodejs/node · GitHub)

Try to make sure Meteor is properly set for ARM: Meteor 2.5.1 with Native Mac M1 support | by Filipe Névola | Meteor Blog

Info is a bit out of date, @paulishca. Node 14 has had native arm64 support on Apple Silicon for a months now. Shortly after, meteor was able to start bundling native node 14 with meteor in 2.5.1.

Also, the version of node on the computer is not used, meteor has its own internal copy of node that is strictly pinned for compatibility with each meteor release.

Like I said, I have been able to use fourseven:scss in the past, on meteor 2.7.3, on the same computer, but somehow it has stopped working.

Official support for Apple ARM was introduced with Node 16. The compatibility was not backported to previous versions but there are some adaptations by the open source which can be installed for 14.
You can run Meteor in developement with a local version of Node if you wish.
I asked you about Node because your env requests for a node-sass that does not exist: darwin-arm64-83_binding.node
Check the node-sass repo on any release version and you will see there is no build for arm64.

In fact, while absolutely not obvious by the error message, this is caused by python 2 missing on recent MacOS versions. I ran into the same issue on my M2 MacBook Air. The solution is documented in this thread: [SOLVED] - Fourseven:scss package problem during installation node-sass on macOS - #17 by faburem

2 Likes

Super success. For anyone else experiencing this problem…

Install pyenv:

brew install pyenv
pyenv install 2.7.18
pyenv global 2.7.18

Then add pyenv to your .zshrc file

export PATH="$HOME/.pyenv/shims:$PATH"

Restart or reload rc file with source

3 Likes

Is fourseven:scss really dead? I missed that.

https://github.com/Meteor-Community-Packages/meteor-scss

Looking for people to try / test the new Vite integration with Meteor client side.