open-jobboard icon indicating copy to clipboard operation
open-jobboard copied to clipboard

Error during installation

Open candyman2903 opened this issue 2 years ago • 1 comments

I get the following error message when installing:

`npm WARN deprecated [email protected]: core-js-pure@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js-pure. npm ERR! code 1 npm ERR! path /var/www/html/open-jobboard/node_modules/sharp npm ERR! command failed npm ERR! command sh -c (node install/libvips && node install/dll-copy && prebuild-install --runtime=napi) || (node-gyp rebuild && node install/dll-copy) npm ERR! info sharp Using cached /home/mrygiel/.npm/_libvips/libvips-8.9.1-linux-x64.tar.gz npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using [email protected] npm ERR! gyp info using [email protected] | linux | x64 npm ERR! gyp ERR! configure error npm ERR! gyp ERR! stack Error: Command failed: /usr/bin/python -c import sys; print "%s.%s.%s" % sys.version_info[:3]; npm ERR! gyp ERR! stack File "", line 1 npm ERR! gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3]; npm ERR! gyp ERR! stack ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ npm ERR! gyp ERR! stack SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)? npm ERR! gyp ERR! stack npm ERR! gyp ERR! stack at ChildProcess.exithandler (node:child_process:419:12) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28) npm ERR! gyp ERR! stack at maybeClose (node:internal/child_process:1091:16) npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:302:5) npm ERR! gyp ERR! System Linux 5.15.0-25-generic npm ERR! gyp ERR! command "/usr/local/bin/node" "/var/www/html/open-jobboard/node_modules/.bin/node-gyp" "rebuild" npm ERR! gyp ERR! cwd /var/www/html/open-jobboard/node_modules/sharp npm ERR! gyp ERR! node -v v18.14.0 npm ERR! gyp ERR! node-gyp -v v3.8.0 npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in: npm ERR! /home/mrygiel/.npm/_logs/2023-02-14T11_18_32_898Z-debug-0.log`

I'm grateful for any help.

candyman2903 avatar Feb 14 '23 11:02 candyman2903