Package.json for Sage 9 that will work on M1?

I have some Sage 9 projects I need to continue supporting and I can’t seem to find a solution that will work on Apple Silicon.

I’ve switched to Dart Sass and had that working for a time using

    "sass": "^1.28.10",
    "sass-loader": "^7.2.0",

But somewhere along the line fsevents needed to be recompiled and it was all downhill from there.

Digging in it seems that @QWp6t 's copy-globs-webpack-plugin requires chokidar 2.0, which in turn has an optional dependency for fsevents.

I’ve heard that fsevents 2.3 includes precompiled binaries for Apple Silicon, but still not quite sure how to resolve this issue from here.

Any assistance would be most helpful…

Thanks,

I found my way to the Sage 9.x branch. Working on getting the theme updated accordingly but seems to compile properly at least.

That’s great!
Could you share with us how you make it work, please? Or just for the record, if anyone comes here in the future to find a solution.