alibaba / alibaba/funcraft

使用egg框架进行部署,当遇到大文件依赖的情况,也就是node_modules大小超过限制时,部署成功后,函数无法执行

Open
#981 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
931
Forks
128
PR merge metrics
No merged PRs in 30d

Description

报错:{"ErrorCode":"CAExited","ErrorMessage":"The CA process either cannot be started or exited:ContainerStartDuration:25471952669. CA process cannot be started or exited already: rpc error: code = 106 desc = ContainerStartDuration:25000000000. Ping CA failed due to: dial tcp 21.0.5.2:9000: i/o timeout Logs : 2020-07-28T07:29:41.731630910Z \u001b[31m⚠️ Error: egg is not found in /code/node_modules\u001b[39m\r\n2020-07-28T07:29:41.732406468Z \u001b[31m⚠️ Command Error, enable `DEBUG=common-bin` for detail\u001b[39m\r\n"}

Contributor guide

No contributing guide indexed for this repository

Research direction

No repository file or test is identified in the issue. Start with the deployment path for egg applications and the handling of oversized node_modules, then compare the deployed contents with the CA startup logs. Done means the dependency is available after deployment and the function starts and executes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
backend, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.