Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~/nodebb$ ./nodebb upgrade
- Updating NodeBB...
- 1. Updating package.json file with defaults... OK
- 2. Bringing base dependencies up to date... started
- npm WARN old lockfile
- npm WARN old lockfile The package-lock.json file was created with an old version of npm,
- npm WARN old lockfile so supplemental metadata must be fetched from the registry.
- npm WARN old lockfile
- npm WARN old lockfile This is a one-time fix-up, please be patient...
- npm WARN old lockfile
- npm ERR! code 1
- npm ERR! path /home/user_radforum/nodebb/node_modules/sharp
- npm ERR! command failed
- 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)
- npm ERR! sharp: Using cached /home/user_radforum/.npm/_libvips/libvips-8.11.3-linux-x64.tar.br
- npm ERR! make: Verzeichnis „/home/user_radforum/nodebb/node_modules/sharp/build“ wird betreten
- npm ERR! CC(target) Release/obj.target/nothing/../node-addon-api/nothing.o
- npm ERR! AR(target) Release/obj.target/../node-addon-api/nothing.a
- npm ERR! COPY Release/nothing.a
- npm ERR! TOUCH Release/obj.target/libvips-cpp.stamp
- npm ERR! CXX(target) Release/obj.target/sharp-linux-x64/src/common.o
- npm ERR! make: Verzeichnis „/home/user_radforum/nodebb/node_modules/sharp/build“ wird verlassen
- npm ERR! internal/modules/cjs/loader.js:905
- npm ERR! throw err;
- npm ERR! ^
- npm ERR!
- npm ERR! Error: Cannot find module './index'
- npm ERR! Require stack:
- npm ERR! - /home/user_radforum/nodebb/node_modules/.bin/rc
- npm ERR! - /home/user_radforum/nodebb/node_modules/.bin/prebuild-install
- npm ERR! at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
- npm ERR! at Function.Module._load (internal/modules/cjs/loader.js:746:27)
- npm ERR! at Module.require (internal/modules/cjs/loader.js:974:19)
- npm ERR! at require (internal/modules/cjs/helpers.js:93:18)
- npm ERR! at Object.<anonymous> (/home/user_radforum/nodebb/node_modules/.bin/rc:2:10)
- npm ERR! at Module._compile (internal/modules/cjs/loader.js:1085:14)
- npm ERR! at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
- npm ERR! at Module.load (internal/modules/cjs/loader.js:950:32)
- npm ERR! at Function.Module._load (internal/modules/cjs/loader.js:790:12)
- npm ERR! at Module.require (internal/modules/cjs/loader.js:974:19) {
- npm ERR! code: 'MODULE_NOT_FOUND',
- npm ERR! requireStack: [
- npm ERR! '/home/user_radforum/nodebb/node_modules/.bin/rc',
- npm ERR! '/home/user_radforum/nodebb/node_modules/.bin/prebuild-install'
- npm ERR! ]
- npm ERR! }
- npm ERR! gyp info it worked if it ends with ok
- npm ERR! gyp info using node-gyp@8.3.0
- npm ERR! gyp info using node@14.18.1 | linux | x64
- npm ERR! gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
- npm ERR! gyp info spawn /usr/bin/python3
- npm ERR! gyp info spawn args [
- npm ERR! gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
- npm ERR! gyp info spawn args 'binding.gyp',
- npm ERR! gyp info spawn args '-f',
- npm ERR! gyp info spawn args 'make',
- npm ERR! gyp info spawn args '-I',
- npm ERR! gyp info spawn args '/home/user_radforum/nodebb/node_modules/sharp/build/config.gypi',
- npm ERR! gyp info spawn args '-I',
- npm ERR! gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
- npm ERR! gyp info spawn args '-I',
- npm ERR! gyp info spawn args '/home/user_radforum/.cache/node-gyp/14.18.1/include/node/common.gypi',
- npm ERR! gyp info spawn args '-Dlibrary=shared_library',
- npm ERR! gyp info spawn args '-Dvisibility=default',
- npm ERR! gyp info spawn args '-Dnode_root_dir=/home/user_radforum/.cache/node-gyp/14.18.1',
- npm ERR! gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
- npm ERR! gyp info spawn args '-Dnode_lib_file=/home/user_radforum/.cache/node-gyp/14.18.1/<(target_arch)/node.lib',
- npm ERR! gyp info spawn args '-Dmodule_root_dir=/home/user_radforum/nodebb/node_modules/sharp',
- npm ERR! gyp info spawn args '-Dnode_engine=v8',
- npm ERR! gyp info spawn args '--depth=.',
- npm ERR! gyp info spawn args '--no-parallel',
- npm ERR! gyp info spawn args '--generator-output',
- npm ERR! gyp info spawn args 'build',
- npm ERR! gyp info spawn args '-Goutput_dir=.'
- npm ERR! gyp info spawn args ]
- npm ERR! gyp info spawn make
- npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
- npm ERR! ../src/common.cc:24:10: fatal error: vips/vips8: Datei oder Verzeichnis nicht gefunden
- npm ERR! 24 | #include <vips/vips8>
- npm ERR! | ^~~~~~~~~~~~
- npm ERR! compilation terminated.
- npm ERR! make: *** [sharp-linux-x64.target.mk:139: Release/obj.target/sharp-linux-x64/src/common.o] Fehler 1
- npm ERR! gyp ERR! build error
- npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
- npm ERR! gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
- npm ERR! gyp ERR! stack at ChildProcess.emit (events.js:400:28)
- npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12)
- npm ERR! gyp ERR! System Linux 5.10.0-9-amd64
- npm ERR! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
- npm ERR! gyp ERR! cwd /home/user_radforum/nodebb/node_modules/sharp
- npm ERR! gyp ERR! node -v v14.18.1
- npm ERR! gyp ERR! node-gyp -v v8.3.0
- npm ERR! gyp ERR! not ok
- npm ERR! A complete log of this run can be found in:
- npm ERR! /home/user_radforum/.npm/_logs/2021-10-28T20_35_05_720Z-debug.log
- Error installing dependencies!
- message: Command failed: npm install --production
- stdout: null
- stderr: null
- Error occurred during upgrade: Error: Command failed: npm install --production
- at checkExecSyncError (child_process.js:790:11)
- at Object.execSync (child_process.js:863:15)
- at Object.installAll (/home/user_radforum/nodebb/src/cli/package-install.js:73:9)
- at Object.handler (/home/user_radforum/nodebb/src/cli/upgrade.js:21:19)
- at runSteps (/home/user_radforum/nodebb/src/cli/upgrade.js:54:16)
- at processTicksAndRejections (internal/process/task_queues.js:95:5)
- at async Object.runUpgrade [as upgrade] (/home/user_radforum/nodebb/src/cli/upgrade.js:84:3)
- (node:76796) UnhandledPromiseRejectionWarning: Error: Command failed: npm install --production
- at checkExecSyncError (child_process.js:790:11)
- at Object.execSync (child_process.js:863:15)
- at Object.installAll (/home/user_radforum/nodebb/src/cli/package-install.js:73:9)
- at Object.handler (/home/user_radforum/nodebb/src/cli/upgrade.js:21:19)
- at runSteps (/home/user_radforum/nodebb/src/cli/upgrade.js:54:16)
- at processTicksAndRejections (internal/process/task_queues.js:95:5)
- at async Object.runUpgrade [as upgrade] (/home/user_radforum/nodebb/src/cli/upgrade.js:84:3)
- (Use `node --trace-warnings ...` to show where the warning was created)
- (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)
- (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.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement