Advertisement
Bullet64

sharp_again

Oct 28th, 2021
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.56 KB | None | 0 0
  1. ~/nodebb$ ./nodebb upgrade
  2.  
  3. Updating NodeBB...
  4.  
  5. 1. Updating package.json file with defaults... OK
  6.  
  7. 2. Bringing base dependencies up to date... started
  8. npm WARN old lockfile
  9. npm WARN old lockfile The package-lock.json file was created with an old version of npm,
  10. npm WARN old lockfile so supplemental metadata must be fetched from the registry.
  11. npm WARN old lockfile
  12. npm WARN old lockfile This is a one-time fix-up, please be patient...
  13. npm WARN old lockfile
  14. npm ERR! code 1
  15. npm ERR! path /home/user_radforum/nodebb/node_modules/sharp
  16. npm ERR! command failed
  17. npm ERR! command sh -c (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)
  18. npm ERR! sharp: Using cached /home/user_radforum/.npm/_libvips/libvips-8.11.3-linux-x64.tar.br
  19. npm ERR! make: Verzeichnis „/home/user_radforum/nodebb/node_modules/sharp/build“ wird betreten
  20. npm ERR! CC(target) Release/obj.target/nothing/../node-addon-api/nothing.o
  21. npm ERR! AR(target) Release/obj.target/../node-addon-api/nothing.a
  22. npm ERR! COPY Release/nothing.a
  23. npm ERR! TOUCH Release/obj.target/libvips-cpp.stamp
  24. npm ERR! CXX(target) Release/obj.target/sharp-linux-x64/src/common.o
  25. npm ERR! make: Verzeichnis „/home/user_radforum/nodebb/node_modules/sharp/build“ wird verlassen
  26. npm ERR! internal/modules/cjs/loader.js:905
  27. npm ERR! throw err;
  28. npm ERR! ^
  29. npm ERR!
  30. npm ERR! Error: Cannot find module './index'
  31. npm ERR! Require stack:
  32. npm ERR! - /home/user_radforum/nodebb/node_modules/.bin/rc
  33. npm ERR! - /home/user_radforum/nodebb/node_modules/.bin/prebuild-install
  34. npm ERR! at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
  35. npm ERR! at Function.Module._load (internal/modules/cjs/loader.js:746:27)
  36. npm ERR! at Module.require (internal/modules/cjs/loader.js:974:19)
  37. npm ERR! at require (internal/modules/cjs/helpers.js:93:18)
  38. npm ERR! at Object.<anonymous> (/home/user_radforum/nodebb/node_modules/.bin/rc:2:10)
  39. npm ERR! at Module._compile (internal/modules/cjs/loader.js:1085:14)
  40. npm ERR! at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
  41. npm ERR! at Module.load (internal/modules/cjs/loader.js:950:32)
  42. npm ERR! at Function.Module._load (internal/modules/cjs/loader.js:790:12)
  43. npm ERR! at Module.require (internal/modules/cjs/loader.js:974:19) {
  44. npm ERR! code: 'MODULE_NOT_FOUND',
  45. npm ERR! requireStack: [
  46. npm ERR! '/home/user_radforum/nodebb/node_modules/.bin/rc',
  47. npm ERR! '/home/user_radforum/nodebb/node_modules/.bin/prebuild-install'
  48. npm ERR! ]
  49. npm ERR! }
  50. npm ERR! gyp info it worked if it ends with ok
  51. npm ERR! gyp info using node-gyp@8.3.0
  52. npm ERR! gyp info using node@14.18.1 | linux | x64
  53. npm ERR! gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
  54. npm ERR! gyp info spawn /usr/bin/python3
  55. npm ERR! gyp info spawn args [
  56. npm ERR! gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
  57. npm ERR! gyp info spawn args 'binding.gyp',
  58. npm ERR! gyp info spawn args '-f',
  59. npm ERR! gyp info spawn args 'make',
  60. npm ERR! gyp info spawn args '-I',
  61. npm ERR! gyp info spawn args '/home/user_radforum/nodebb/node_modules/sharp/build/config.gypi',
  62. npm ERR! gyp info spawn args '-I',
  63. npm ERR! gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
  64. npm ERR! gyp info spawn args '-I',
  65. npm ERR! gyp info spawn args '/home/user_radforum/.cache/node-gyp/14.18.1/include/node/common.gypi',
  66. npm ERR! gyp info spawn args '-Dlibrary=shared_library',
  67. npm ERR! gyp info spawn args '-Dvisibility=default',
  68. npm ERR! gyp info spawn args '-Dnode_root_dir=/home/user_radforum/.cache/node-gyp/14.18.1',
  69. npm ERR! gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
  70. npm ERR! gyp info spawn args '-Dnode_lib_file=/home/user_radforum/.cache/node-gyp/14.18.1/<(target_arch)/node.lib',
  71. npm ERR! gyp info spawn args '-Dmodule_root_dir=/home/user_radforum/nodebb/node_modules/sharp',
  72. npm ERR! gyp info spawn args '-Dnode_engine=v8',
  73. npm ERR! gyp info spawn args '--depth=.',
  74. npm ERR! gyp info spawn args '--no-parallel',
  75. npm ERR! gyp info spawn args '--generator-output',
  76. npm ERR! gyp info spawn args 'build',
  77. npm ERR! gyp info spawn args '-Goutput_dir=.'
  78. npm ERR! gyp info spawn args ]
  79. npm ERR! gyp info spawn make
  80. npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
  81. npm ERR! ../src/common.cc:24:10: fatal error: vips/vips8: Datei oder Verzeichnis nicht gefunden
  82. npm ERR! 24 | #include <vips/vips8>
  83. npm ERR! | ^~~~~~~~~~~~
  84. npm ERR! compilation terminated.
  85. npm ERR! make: *** [sharp-linux-x64.target.mk:139: Release/obj.target/sharp-linux-x64/src/common.o] Fehler 1
  86. npm ERR! gyp ERR! build error
  87. npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
  88. npm ERR! gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
  89. npm ERR! gyp ERR! stack at ChildProcess.emit (events.js:400:28)
  90. npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12)
  91. npm ERR! gyp ERR! System Linux 5.10.0-9-amd64
  92. npm ERR! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
  93. npm ERR! gyp ERR! cwd /home/user_radforum/nodebb/node_modules/sharp
  94. npm ERR! gyp ERR! node -v v14.18.1
  95. npm ERR! gyp ERR! node-gyp -v v8.3.0
  96. npm ERR! gyp ERR! not ok
  97.  
  98. npm ERR! A complete log of this run can be found in:
  99. npm ERR! /home/user_radforum/.npm/_logs/2021-10-28T20_35_05_720Z-debug.log
  100. Error installing dependencies!
  101. message: Command failed: npm install --production
  102. stdout: null
  103. stderr: null
  104. Error occurred during upgrade: Error: Command failed: npm install --production
  105. at checkExecSyncError (child_process.js:790:11)
  106. at Object.execSync (child_process.js:863:15)
  107. at Object.installAll (/home/user_radforum/nodebb/src/cli/package-install.js:73:9)
  108. at Object.handler (/home/user_radforum/nodebb/src/cli/upgrade.js:21:19)
  109. at runSteps (/home/user_radforum/nodebb/src/cli/upgrade.js:54:16)
  110. at processTicksAndRejections (internal/process/task_queues.js:95:5)
  111. at async Object.runUpgrade [as upgrade] (/home/user_radforum/nodebb/src/cli/upgrade.js:84:3)
  112. (node:76796) UnhandledPromiseRejectionWarning: Error: Command failed: npm install --production
  113. at checkExecSyncError (child_process.js:790:11)
  114. at Object.execSync (child_process.js:863:15)
  115. at Object.installAll (/home/user_radforum/nodebb/src/cli/package-install.js:73:9)
  116. at Object.handler (/home/user_radforum/nodebb/src/cli/upgrade.js:21:19)
  117. at runSteps (/home/user_radforum/nodebb/src/cli/upgrade.js:54:16)
  118. at processTicksAndRejections (internal/process/task_queues.js:95:5)
  119. at async Object.runUpgrade [as upgrade] (/home/user_radforum/nodebb/src/cli/upgrade.js:84:3)
  120. (Use `node --trace-warnings ...` to show where the warning was created)
  121. (node:76796) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
  122. (node:76796) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
  123.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement