Created
January 27, 2020 08:37
-
-
Save ericmigi/1026b029db4ae8cbdb38f3473dac2335 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tep 18/22 : RUN sudo mkdir /bot && npm link && sudo ln -sfv /usr/lib/node_modules/* /node_modules/ && sudo ln -sfv /wechaty/node_modules/* /node_modules/ && sudo ln -sfv /wechaty/tsconfig.json / && echo 'Linked Wechaty to Global' | |
| ---> Using cache | |
| ---> 7142bfe78cc1 | |
| Step 19/22 : RUN npm run puppet-install && sudo rm -fr /tmp/* ~/.npm | |
| ---> Running in 92ab814c2243 | |
| > wechaty@0.29.43 puppet-install /wechaty | |
| > ts-node bin/puppet-install.ts | |
| 08:25:52 INFO PuppetManager installAll() please wait ... | |
| npm: | |
| > rocksdb@3.1.0 install /wechaty/node_modules/rocksdb | |
| > prebuild-install || node-gyp rebuild | |
| npm: prebuild-install | |
| npm: WARN install No prebuilt binaries found (target=10.18.1 runtime=node arch=arm64 libc= platform=linux) | |
| npm: make: Entering directory '/wechaty/node_modules/rocksdb/build' | |
| npm: CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-rocksdb/db/auto_roll_logger.o | |
| npm: CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-rocksdb/db/builder.o | |
| npm: g++: internal compiler error: Killed (program cc1plus) | |
| Please submit a full bug report, | |
| with preprocessed source if appropriate. | |
| See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions. | |
| npm: make: *** [Release/obj.target/leveldb/deps/leveldb/leveldb-rocksdb/db/builder.o] Error 4 | |
| npm: deps/leveldb/leveldb.target.mk:299: recipe for target 'Release/obj.target/leveldb/deps/leveldb/leveldb-rocksdb/db/builder.o' failed | |
| make: Leaving directory '/wechaty/node_modules/rocksdb/build' | |
| npm: gyp | |
| npm: | |
| npm: ERR! build error | |
| npm: gyp | |
| npm: ERR! stack Error: `make` failed with exit code: 2 | |
| gyp | |
| npm: ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:191:23) | |
| gyp | |
| npm: ERR! stack at ChildProcess.emit (events.js:198:13) | |
| gyp | |
| npm: ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12) | |
| npm: gyp | |
| npm: ERR! System Linux 5.3.0-1015-raspi2 | |
| npm: gyp | |
| npm: ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" | |
| npm: gyp ERR! cwd | |
| npm: /wechaty/node_modules/rocksdb | |
| gyp ERR! node -v | |
| npm: v10.18.1 | |
| gyp ERR! | |
| npm: node-gyp -v v5.0.5 | |
| gyp ERR! | |
| npm: not ok | |
| npm: npm | |
| npm: WARN @typescript-eslint/eslint-plugin@1.13.0 requires a peer of eslint@^5.0.0 but none is installed. You must install peer dependencies yourself. | |
| npm: npm WARN | |
| npm: @typescript-eslint/eslint-plugin-tslint@1.13.0 requires a peer of eslint@^5.0.0 but none is installed. You must install peer dependencies yourself. | |
| npm WARN | |
| npm: @typescript-eslint/parser@1.13.0 requires a peer of eslint@^5.0.0 but none is installed. You must install peer dependencies yourself. | |
| npm WARN | |
| npm: marked-terminal@1.7.0 requires a peer of marked@^0.3.3 but none is installed. You must install peer dependencies yourself. | |
| npm WARN | |
| npm: wechaty-puppet-wechat4u@0.16.3 requires a peer of wechaty-puppet@^0.16.1 but none is installed. You must install peer dependencies yourself. | |
| npm WARN wechaty-puppet-puppeteer@0.18.3 requires a peer of wechaty-puppet@^0.16.1 but none is installed. You must install peer dependencies yourself. | |
| npm: npm WARN wechaty-puppet-mock@0.16.1 requires a peer of wechaty-puppet@^0.16.1 but none is installed. You must install peer dependencies yourself. | |
| npm: npm WARN puppeteer-extra@2.1.6 requires a peer of puppeteer@^2.0.0 but none is installed. You must install peer dependencies yourself. | |
| npm: | |
| npm: npm | |
| npm: ERR! code ELIFECYCLE | |
| npm: npm | |
| npm: ERR! errno 1 | |
| npm: npm ERR! | |
| npm: rocksdb@3.1.0 install: `prebuild-install || node-gyp rebuild` | |
| npm ERR! Exit status 1 | |
| npm | |
| npm: ERR! | |
| npm ERR! Failed at the rocksdb@3.1.0 install script. | |
| npm: npm ERR! This is probably not a problem with npm. There is likely additional logging output above. | |
| npm: | |
| npm: npm ERR! A complete log of this run can be found in: | |
| npm ERR! /root/.npm/_logs/2020-01-27T08_32_42_517Z-debug.log | |
| { Error: Command failed: npm install wechaty-puppet-mock@^0.16.1 wechaty-puppet-padplus@^0.3.11 wechaty-puppet-puppeteer@^0.18.2 wechaty-puppet-wechat4u@^0.16.3 --no-save | |
| prebuild-install WARN install No prebuilt binaries found (target=10.18.1 runtime=node arch=arm64 libc= platform=linux) | |
| g++: internal compiler error: Killed (program cc1plus) | |
| Please submit a full bug report, | |
| with preprocessed source if appropriate. | |
| See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions. | |
| make: *** [Release/obj.target/leveldb/deps/leveldb/leveldb-rocksdb/db/builder.o] Error 4 | |
| gyp ERR! build error | |
| gyp ERR! stack Error: `make` failed with exit code: 2 | |
| gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:191:23) | |
| gyp ERR! stack at ChildProcess.emit (events.js:198:13) | |
| gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12) | |
| gyp ERR! System Linux 5.3.0-1015-raspi2 | |
| gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" | |
| gyp ERR! cwd /wechaty/node_modules/rocksdb | |
| gyp ERR! node -v v10.18.1 | |
| gyp ERR! node-gyp -v v5.0.5 | |
| gyp ERR! not ok | |
| npm WARN @typescript-eslint/eslint-plugin@1.13.0 requires a peer of eslint@^5.0.0 but none is installed. You must install peer dependencies yourself. | |
| npm WARN @typescript-eslint/eslint-plugin-tslint@1.13.0 requires a peer of eslint@^5.0.0 but none is installed. You must install peer dependencies yourself. | |
| npm WARN @typescript-eslint/parser@1.13.0 requires a peer of eslint@^5.0.0 but none is installed. You must install peer dependencies yourself. | |
| npm WARN marked-terminal@1.7.0 requires a peer of marked@^0.3.3 but none is installed. You must install peer dependencies yourself. | |
| npm WARN wechaty-puppet-wechat4u@0.16.3 requires a peer of wechaty-puppet@^0.16.1 but none is installed. You must install peer dependencies yourself. | |
| npm WARN wechaty-puppet-puppeteer@0.18.3 requires a peer of wechaty-puppet@^0.16.1 but none is installed. You must install peer dependencies yourself. | |
| npm WARN wechaty-puppet-mock@0.16.1 requires a peer of wechaty-puppet@^0.16.1 but none is installed. You must install peer dependencies yourself. | |
| npm WARN puppeteer-extra@2.1.6 requires a peer of puppeteer@^2.0.0 but none is installed. You must install peer dependencies yourself. | |
| npm ERR! code ELIFECYCLE | |
| npm ERR! errno 1 | |
| npm ERR! rocksdb@3.1.0 install: `prebuild-install || node-gyp rebuild` | |
| npm ERR! Exit status 1 | |
| npm ERR! | |
| npm ERR! Failed at the rocksdb@3.1.0 install script. | |
| npm ERR! This is probably not a problem with npm. There is likely additional logging output above. | |
| npm ERR! A complete log of this run can be found in: | |
| npm ERR! /root/.npm/_logs/2020-01-27T08_32_42_517Z-debug.log | |
| at ChildProcess.exithandler (child_process.js:294:12) | |
| at ChildProcess.emit (events.js:198:13) | |
| at ChildProcess.EventEmitter.emit (domain.js:448:20) | |
| at maybeClose (internal/child_process.js:982:16) | |
| at Socket.stream.socket.on (internal/child_process.js:389:11) | |
| at Socket.emit (events.js:198:13) | |
| at Socket.EventEmitter.emit (domain.js:448:20) | |
| at Pipe._handle.close (net.js:607:12) | |
| killed: false, | |
| code: 1, | |
| signal: null, | |
| cmd: | |
| 'npm install wechaty-puppet-mock@^0.16.1 wechaty-puppet-padplus@^0.3.11 wechaty-puppet-puppeteer@^0.18.2 wechaty-puppet-wechat4u@^0.16.3 --no-save' } | |
| npm ERR! code ELIFECYCLE | |
| npm ERR! errno 1 | |
| npm ERR! wechaty@0.29.43 puppet-install: `ts-node bin/puppet-install.ts` | |
| npm ERR! Exit status 1 | |
| npm ERR! | |
| npm ERR! Failed at the wechaty@0.29.43 puppet-install script. | |
| npm ERR! This is probably not a problem with npm. There is likely additional logging output above. | |
| npm ERR! A complete log of this run can be found in: | |
| npm ERR! /root/.npm/_logs/2020-01-27T08_32_42_937Z-debug.log | |
| The command '/bin/sh -c npm run puppet-install && sudo rm -fr /tmp/* ~/.npm' returned a non-zero code: 1 | |
| ubuntu@buildpi:~/bridges/wechaty$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment