Maybe is caused by this: * 64735693b Replaced keypair with rsa-keypair module (#10758) - Daniel Lockyer
Here is the output:
ghost update
- sudo systemctl is-active ghost_188-226-129-238
Checking system Node.js version
Ensuring user is not logged in as ghost user
Checking if logged in user is directory owner
Checking current folder permissions
Checking folder permissions
Checking file permissions
Checking content folder ownership
Checking memory availability
Checking for available migrations
Checking for latest Ghost version
Downloading and updating Ghost to v2.25.2
A ProcessError occurred.
Message: Command failed: yarn install --no-emoji --no-progress
warning ghost@2.25.2: The engine “cli” appears to be invalid.
warning “@tryghost/members-auth-pages > react-stripe-elements@2.0.3” has unmet peer dependency “react@^15.5.4 || ^16.0.0-0”.
warning “@tryghost/members-auth-pages > react-stripe-elements@2.0.3” has unmet peer dependency “react-dom@^15.5.4 || ^16.0.0-0”.
error /var/www/ghost/versions/2.25.2/node_modules/rsa-keypair: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: /var/www/ghost/versions/2.25.2/node_modules/rsa-keypair
Output:
gyp info it worked if it ends with ok
gyp info using node-gyp@3.8.0
gyp info using node@10.16.0 | linux | x64
gyp info spawn /usr/bin/python2
gyp info spawn args [ ‘/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py’,
gyp info spawn args ‘binding.gyp’,
gyp info spawn args ‘-f’,
gyp info spawn args ‘make’,
gyp info spawn args ‘-I’,
gyp info spawn args ‘/var/www/ghost/versions/2.25.2/node_modules/rsa-keypair/build/config.gypi’,
gyp info spawn args ‘-I’,
gyp info spawn args ‘/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi’,
gyp info spawn args ‘-I’,
gyp info spawn args ‘/home/velobarplus/.node-gyp/10.16.0/include/node/common.gypi’,
gyp info spawn args ‘-Dlibrary=shared_library’,
gyp info spawn args ‘-Dvisibility=default’,
gyp info spawn args ‘-Dnode_root_dir=/home/velobarplus/.node-gyp/10.16.0’,
gyp info spawn args ‘-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp’,
gyp info spawn args ‘-Dnode_lib_file=/home/velobarplus/.node-gyp/10.16.0/<(target_arch)/node.lib’,
gyp info spawn args ‘-Dmodule_root_dir=/var/www/ghost/versions/2.25.2/node_modules/rsa-keypair’,
gyp info spawn args ‘-Dnode_engine=v8’,
gyp info spawn args ‘–depth=.’,
gyp info spawn args ‘–no-parallel’,
gyp info spawn args ‘–generator-output’,
gyp info spawn args ‘build’,
gyp info spawn args ‘-Goutput_dir=.’ ]
gyp ERR! build error
gyp ERR! stack Error: not found: make
gyp ERR! stack at getNotFoundError (/usr/local/lib/node_modules/npm/node_modules/which/which.js:13:12)
gyp ERR! stack at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:68:19)
gyp ERR! stack at E (/usr/local/lib/node_modules/npm/node_modules/which/which.js:80:29)
gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/which.js:89:16
gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/isexe/index.js:42:5
gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:153:21)
gyp ERR! System Linux 4.15.0-52-generic
gyp ERR! command “/usr/local/bin/node” “/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “rebuild”
gyp ERR! cwd /var/www/ghost/versions/2.25.2/node_modules/rsa-keypair
gyp ERR! node -v v10.16.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
yarn install v1.16.0
[1/5] Validating package.json…
[2/5] Resolving packages…
[3/5] Fetching packages…
[4/5] Linking dependencies…
[5/5] Building fresh packages…
info Visit yarn install | Yarn for documentation about this command.
Exit code: 1
Debug Information:
OS: Ubuntu, v18.04
Node Version: v10.16.0
Ghost-CLI Version: 1.11.0
Environment: production
Command: ‘ghost update’