microsoft / rushstack-websites

Doc content for the Rush Stack websites.
Creative Commons Attribution 4.0 International
23 stars 69 forks source link

Project setup: Python 3.11 not compatible with node-sass #197

Open elliot-nelson opened 10 months ago

elliot-nelson commented 10 months ago

Something (maybe Docusaurus) still depends on node-sass in this repo, and node-sass is barely supported anymore.

In particular, if you have Python 3.11 or higher installed, rush install will fail due to https://github.com/nodejs/node-gyp/issues/2219.

You can do a brute force workaround on Mac:

brew install pyenv
pyenv install 3.10.1
# (ensure python3 in path is linked to the right installation)
rush install

Ideally we could eliminate node-sass in the repo to prevent this issue.