Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Docker拉取镜像报错 #23

Closed
emengweb opened this issue Feb 16, 2023 · 3 comments
Closed

Docker拉取镜像报错 #23

emengweb opened this issue Feb 16, 2023 · 3 comments

Comments

@emengweb
Copy link

使用docker-compose.yml文件构建容器,pull镜像时报错:

failed to register layer: ApplyLayer exit status 1 stdout:  stderr: lchown /app/node_modules/tmp/LICENSE: invalid argument
@emengweb emengweb changed the title Docker拉取景象报错 Docker拉取镜像报错 Feb 16, 2023
@emengweb
Copy link
Author

手动build本地镜像可以正常启动

@yanshibin
Copy link

奇怪,我手动build 报错

[8/8] RUN npm run build:
#13 1.648
#13 1.648 > [email protected] build
#13 1.648 > tsc
#13 1.648
#13 4.009 src/index.ts(259,14): error TS2769: No overload matches this call.
#13 4.009 Overload 1 of 6, '(port: number, hostname: string, backlog: number, callback?: (() => void) | undefined): Server<typeof IncomingMessage, typeof ServerResponse>', gave the following error.
#13 4.009 Argument of type 'string | 4000' is not assignable to parameter of type 'number'.
#13 4.009 Type 'string' is not assignable to type 'number'.
#13 4.009 Overload 2 of 6, '(port: number, hostname: string, callback?: (() => void) | undefined): Server<typeof IncomingMessage, typeof ServerResponse>', gave the following error.
#13 4.009 Argument of type 'string | 4000' is not assignable to parameter of type 'number'.
#13 4.009 Type 'string' is not assignable to type 'number'.


@myfingerhurt
Copy link

#21

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants