gpt4 book ai didi

angular - TypeError : child. 发送不是函数

转载 作者:行者123 更新时间:2023-12-05 07:24:38 24 4
gpt4 key购买 nike

我在运行构建 Angular APP 时遇到问题

npm run build

本地所有任务运行正常并且项目已构建,但是当通过控制台(ssh)在服务器上启动命令时出现此错误:

child.send({ module: forkModule })
^
TypeError: child.send is not a function

服务器unaman -a:

Linux s#################.org 3.10.0-714.10.2.lve1.5.17.1.el7.x86_64 #1 SMP Tue May 22 10:39:25 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux

Angular :"@angular/core": "^7.2.1"

节点:v11.12.0

npm:6.7.0

最佳答案

thread在 GitHub 上描述了一个类似的问题,npm ci 最终为我解决了这个问题。

关于angular - TypeError : child. 发送不是函数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55295491/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com