Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Debug Information:
- OS: Ubuntu, v18.04
- Node Version: v8.15.1
- Ghost-CLI Version: 1.11.0
- Environment: production
- Command: 'ghost update'
- 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@8.15.1 | linux | x64
- gyp info spawn /usr/bin/python2
- gyp info spawn args [ '/usr/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/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
- gyp info spawn args '-I',
- gyp info spawn args '/home/user/.node-gyp/8.15.1/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/user/.node-gyp/8.15.1',
- gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
- gyp info spawn args '-Dnode_lib_file=/home/user/.node-gyp/8.15.1/<(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=.' ]
- Traceback (most recent call last):
- File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 13, in <module>
- import gyp
- File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 8, in <module>
- import gyp.input
- File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 5, in <module>
- from compiler.ast import Const
- ImportError: No module named compiler.ast
- gyp ERR! configure error
- gyp ERR! stack Error: `gyp` failed with exit code: 1
- gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:345:16)
- gyp ERR! stack at emitTwo (events.js:126:13)
- gyp ERR! stack at ChildProcess.emit (events.js:214:7)
- gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
- gyp ERR! System Linux 4.15.0-47-generic
- gyp ERR! command "/usr/bin/node" "/usr/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 v8.15.1
- 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 https://yarnpkg.com/en/docs/cli/install for documentation about this command.
- Exit code: 1
- --------------- stdout ---------------
- 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 https://yarnpkg.com/en/docs/cli/install for documentation about this command.
- --------------- stderr ---------------
- 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@8.15.1 | linux | x64
- gyp info spawn /usr/bin/python2
- gyp info spawn args [ '/usr/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/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
- gyp info spawn args '-I',
- gyp info spawn args '/home/user/.node-gyp/8.15.1/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/user/.node-gyp/8.15.1',
- gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
- gyp info spawn args '-Dnode_lib_file=/home/user/.node-gyp/8.15.1/<(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=.' ]
- Traceback (most recent call last):
- File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 13, in <module>
- import gyp
- File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 8, in <module>
- import gyp.input
- File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 5, in <module>
- from compiler.ast import Const
- ImportError: No module named compiler.ast
- gyp ERR! configure error
- gyp ERR! stack Error: `gyp` failed with exit code: 1
- gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:345:16)
- gyp ERR! stack at emitTwo (events.js:126:13)
- gyp ERR! stack at ChildProcess.emit (events.js:214:7)
- gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
- gyp ERR! System Linux 4.15.0-47-generic
- gyp ERR! command "/usr/bin/node" "/usr/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 v8.15.1
- gyp ERR! node-gyp -v v3.8.0
- gyp ERR! not ok
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement