New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
构建docker镜像报错 #1593
Comments
Run ➜ wechaty git:(master) ✗ npm run lint
> wechaty@0.23.9 lint /Users/jiaruili/git/rui/wechaty
> npm run check-node-version && npm run lint:ts && npm run lint:sh
> wechaty@0.23.9 check-node-version /Users/jiaruili/git/rui/wechaty
> check-node-version --node ">= 10"
> wechaty@0.23.9 lint:ts /Users/jiaruili/git/rui/wechaty
> tslint --project tsconfig.json && tsc --noEmit
src/io.ts:408:9 - error TS2559: Type '(err: Error) => void' has no properties in common with type '{ mask?: boolean | undefined; binary?: boolean | undefined; compress?: boolean | undefined; fin?: boolean | undefined; }'.
408 (err: Error) => {
~~~~~~~~~~~~~~~~~
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! wechaty@0.23.9 lint:ts: `tslint --project tsconfig.json && tsc --noEmit`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the wechaty@0.23.9 lint:ts 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! /Users/jiaruili/.npm/_logs/2018-09-14T06_25_52_068Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! wechaty@0.23.9 lint: `npm run check-node-version && npm run lint:ts && npm run lint:sh`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the wechaty@0.23.9 lint 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! /Users/jiaruili/.npm/_logs/2018-09-14T06_25_52_113Z-debug.log |
related to the fail in continuous-integration/appveyor/branch, see https://ci.appveyor.com/project/Chatie/wechaty/build/4067 I guess this is because some typescript version not matching. run
|
Should have been fixed by the latest commit. |
@zhaokefei Please check this issue. If this has been fixed, please close this issue, thanks! |
拉取最新版代码 0.23.9用dockerfile构建docker镜像时,出现以下错误:
若跳过
命令直接执行后续命令时,在 npm link时出现以下错误:
The text was updated successfully, but these errors were encountered: