From phkr, 10 Months ago, written in Plain Text.
Embed
  1. npm ERR! code 1
  2. npm ERR! path /build/python-sphinx_rtd_theme/src/sphinx_rtd_theme-1.2.0/node_modules/node-sass
  3. npm ERR! command failed
  4. npm ERR! command sh -c -- node scripts/build.js
  5. npm ERR! Building: /usr/bin/node /build/python-sphinx_rtd_theme/src/sphinx_rtd_theme-1.2.0/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cf
  6. lags= --libsass_ldflags= --libsass_library=
  7. npm ERR! gyp info it worked if it ends with ok
  8. npm ERR! gyp verb cli [
  9. npm ERR! gyp verb cli   '/usr/bin/node',
  10. npm ERR! gyp verb cli   '/build/python-sphinx_rtd_theme/src/sphinx_rtd_theme-1.2.0/node_modules/node-gyp/bin/node-gyp.js',
  11. npm ERR! gyp verb cli   'rebuild',
  12. npm ERR! gyp verb cli   '--verbose',
  13. npm ERR! gyp verb cli   '--libsass_ext=',
  14. npm ERR! gyp verb cli   '--libsass_cflags=',
  15. npm ERR! gyp verb cli   '--libsass_ldflags=',
  16. npm ERR! gyp verb cli   '--libsass_library='
  17. npm ERR! gyp verb cli ]
  18. npm ERR! gyp info using [email protected]
  19. npm ERR! gyp info using [email protected] | linux | arm64
  20. npm ERR! gyp verb command rebuild []
  21. npm ERR! gyp verb command clean []
  22. npm ERR! gyp verb clean removing "build" directory
  23. npm ERR! gyp verb command configure []
  24. npm ERR! gyp verb check python checking for Python executable "python2" in the PATH
  25. npm ERR! gyp verb `which` failed Error: not found: python2
  26. lags= --libsass_ldflags= --libsass_library=
  27. npm ERR! gyp info it worked if it ends with ok
  28. npm ERR! gyp verb cli [
  29. npm ERR! gyp verb cli   '/usr/bin/node',
  30. npm ERR! gyp verb cli   '/build/python-sphinx_rtd_theme/src/sphinx_rtd_theme-1.2.0/node_modules/node-gyp/bin/node-gyp.js',
  31. npm ERR! gyp verb cli   'rebuild',
  32. npm ERR! gyp verb cli   '--verbose',
  33. npm ERR! gyp verb cli   '--libsass_ext=',
  34. npm ERR! gyp verb cli   '--libsass_cflags=',
  35. npm ERR! gyp verb cli   '--libsass_ldflags=',
  36. npm ERR! gyp verb cli   '--libsass_library='
  37. npm ERR! gyp verb cli ]
  38. npm ERR! gyp info using [email protected]
  39. npm ERR! gyp info using [email protected] | linux | arm64
  40. npm ERR! gyp verb command rebuild []
  41. npm ERR! gyp verb command clean []
  42. npm ERR! gyp verb clean removing "build" directory
  43. npm ERR! gyp verb command configure []
  44. npm ERR! gyp verb check python checking for Python executable "python2" in the PATH
  45. npm ERR! gyp verb `which` failed Error: not found: python2
  46. npm ERR! gyp verb `which` failed     at getNotFoundError (/build/python-sphinx_rtd_theme/src/sphinx_rtd_theme-1.2.0/node_modules/which/which.js:13:12)
  47. npm ERR! gyp verb `which` failed     at F (/build/python-sphinx_rtd_theme/src/sphinx_rtd_theme-1.2.0/node_modules/which/which.js:68:19)
  48. npm ERR! gyp verb `which` failed     at E (/build/python-sphinx_rtd_theme/src/sphinx_rtd_theme-1.2.0/node_modules/which/which.js:80:29)
  49. npm ERR! gyp verb `which` failed     at /build/python-sphinx_rtd_theme/src/sphinx_rtd_theme-1.2.0/node_modules/which/which.js:89:16
  50. npm ERR! gyp verb `which` failed     at /build/python-sphinx_rtd_theme/src/sphinx_rtd_theme-1.2.0/node_modules/isexe/index.js:42:5
  51. npm ERR! gyp verb `which` failed     at /build/python-sphinx_rtd_theme/src/sphinx_rtd_theme-1.2.0/node_modules/isexe/mode.js:8:5
  52. npm ERR! gyp verb `which` failed     at FSReqCallback.oncomplete (fs.js:192:21)
  53. npm ERR! gyp verb `which` failed  python2 Error: not found: python2
  54. npm ERR! gyp verb `which` failed     at getNotFoundError (/build/python-sphinx_rtd_theme/src/sphinx_rtd_theme-1.2.0/node_modules/which/which.js:13:12)
  55. npm ERR! gyp verb `which` failed     at F (/build/python-sphinx_rtd_theme/src/sphinx_rtd_theme-1.2.0/node_modules/which/which.js:68:19)
  56. npm ERR! gyp verb `which` failed     at E (/build/python-sphinx_rtd_theme/src/sphinx_rtd_theme-1.2.0/node_modules/which/which.js:80:29)
  57. npm ERR! gyp verb `which` failed     at /build/python-sphinx_rtd_theme/src/sphinx_rtd_theme-1.2.0/node_modules/which/which.js:89:16
  58. npm ERR! gyp verb `which` failed     at /build/python-sphinx_rtd_theme/src/sphinx_rtd_theme-1.2.0/node_modules/isexe/index.js:42:5
  59. npm ERR! gyp verb `which` failed     at /build/python-sphinx_rtd_theme/src/sphinx_rtd_theme-1.2.0/node_modules/isexe/mode.js:8:5
  60. npm ERR! gyp verb `which` failed     at FSReqCallback.oncomplete (fs.js:192:21) {
  61. npm ERR! gyp verb `which` failed   code: 'ENOENT'
  62. npm ERR! gyp verb `which` failed }
  63. npm ERR! gyp verb check python checking for Python executable "python" in the PATH
  64. npm ERR! gyp verb `which` succeeded python /usr/bin/python
  65. npm ERR! gyp ERR! configure error
  66. npm ERR! gyp ERR! stack Error: Command failed: /usr/bin/python -c import sys; print "%s.%s.%s" % sys.version_info[:3];
  67. npm ERR! gyp ERR! stack   File "<string>", line 1
  68. npm ERR! gyp ERR! stack     import sys; print "%s.%s.%s" % sys.version_info[:3];
  69. npm ERR! gyp ERR! stack                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  70. npm ERR! gyp ERR! stack SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
  71. npm ERR! gyp ERR! stack
  72. npm ERR! gyp ERR! stack     at ChildProcess.exithandler (child_process.js:383:12)
  73. npm ERR! gyp ERR! stack     at ChildProcess.emit (events.js:400:28)
  74. npm ERR! gyp ERR! stack     at maybeClose (internal/child_process.js:1088:16)
  75. npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:296:5)
  76. npm ERR! gyp ERR! System Linux 6.2.13-1-ARTIX
  77. npm ERR! gyp ERR! command "/usr/bin/node" "/build/python-sphinx_rtd_theme/src/sphinx_rtd_theme-1.2.0/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_e
  78. xt=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
  79. npm ERR! gyp ERR! cwd /build/python-sphinx_rtd_theme/src/sphinx_rtd_theme-1.2.0/node_modules/node-sass
  80. npm ERR! gyp ERR! node -v v14.21.3
  81. npm ERR! gyp ERR! node-gyp -v v3.8.0
  82. npm ERR! gyp ERR! not ok
  83. npm ERR! Build failed with error code: 1
  84.  
  85. npm ERR! A complete log of this run can be found in:
  86. npm ERR!     /build/.npm/_logs/2023-05-13T07_10_13_242Z-debug-0.log
captcha