won't compile on python3 systems because of outdated node-sass dependency
The current version of node-sass does not support Python 3 only environments.
Example Output:
gyp verb check python checking for Python executable "python" in the PATH
gyp verb `which` succeeded python /usr/bin/python
gyp ERR! configure error
gyp ERR! stack Error: Command failed: /usr/bin/python -c import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack File "<string>", line 1
gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack ^
gyp ERR! stack SyntaxError: invalid syntax
gyp ERR! stack
gyp ERR! stack at ChildProcess.exithandler (node:child_process:309:12)
gyp ERR! stack at ChildProcess.emit (node:events:327:20)
gyp ERR! stack at maybeClose (node:internal/child_process:1048:16)
gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:288:5)
gyp ERR! System Linux 5.8.18-1-MANJARO
gyp ERR! command "/usr/bin/node" "/home/mirsch/Applications/medis/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /home/mirsch/Applications/medis/node_modules/node-sass
gyp ERR! node -v v15.0.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Build failed with error code: 1
see https://github.com/sass/node-sass/issues/2877
upgrading node-sass to 5.0.0 and sass-loader to 10.1.0 solves the issue
simple fix: use sass (pure js)
Hello 👋
Our development focus has now shifted to the next generation of Medis: Medis 2. Compared to its predecessor, Medis 2 offers enhanced performance, more powerful features, and a more delightful interface. If you encounter any problems with Medis 2, feel free to reopen this issue, and together, we can explore possible solutions.
Download Medis 2 for free: https://getmedis.com/. Thanks for using and supporting Medis 1!