dendronhq / dendron

The personal knowledge management (PKM) tool that grows as you do!
https://wiki.dendron.so
Apache License 2.0
6.52k stars 247 forks source link

(development issue) node_modules/node-sass: Command failed #3984

Open xareelee opened 1 month ago

xareelee commented 1 month ago

Please select the area your bug applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

Development dependencies (node-sass and/or node-gyp)

Describe the bug

This project currently doesn't support node 22 and/or python 3.12 for the package lock file.

To Reproduce

After pulling this git repo and following the developer docs, you'll be stuck at executing yarn if using node 22 or python 3.12 on your machine. It will raises errors when running node-sass/node-gyp for yarn.

Discussions

I found the discussion about error /node_modules/node-sass: Command failed on the stackoverflow.

After downgrading node to v17 and python to v3.11, I finally can run yarn. I just leave a record here for other developers.

Maybe we should update those dependencies for latest node and python.