topsi-project-manager icon indicating copy to clipboard operation
topsi-project-manager copied to clipboard

Yarn complains with Python Error

Open sebelk opened this issue 4 years ago • 1 comments

Hi, When I run yarn it outputs as follows:

gyp ERR! configure error 
gyp ERR! stack Error: Command failed: /usr/bin/python3 -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 (child_process.js:308:12)
gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
gyp ERR! stack     at maybeClose (internal/child_process.js:1048:16)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
gyp ERR! System Linux 5.9.8-200.fc33.x86_64
gyp ERR! command "/usr/bin/node" "/home/sergio/Descargas/GitRepos/topsi-project-manager/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /home/sergio/Descargas/GitRepos/topsi-project-manager/node_modules/node-sass
gyp ERR! node -v v14.14.0

About my platform:

yarn -v && uname -r -s -o && python -V ; cat /etc/redhat-release 
1.22.10
Linux 5.9.8-200.fc33.x86_64 GNU/Linux
Python 3.9.0
Fedora release 33 (Thirty Three)

Am I mistaking something? Thanks in advance!

sebelk avatar Nov 20 '20 11:11 sebelk

If you bump up all the dependencies ( there are open branches for that) it will go pass that point. But then the build will fail on real programming issues ( there are open issues for that)

VincenzoLaSpesa avatar Feb 07 '21 19:02 VincenzoLaSpesa