更新时间:2023-10-20 15:40:28
准备包"任务是在Meteor Up的1.3.0版本中引入的(请参见
The task "Prepare bundle" was introduced in the version 1.3.0 of Meteor Up (see release notes):
将捆绑包上传到每个服务器后,将运行一个名为准备捆绑包"的新任务.它安装Meteor npm依赖项,重建本机模块,并将结果存储在docker映像中.这有一些好处:
After the bundle is uploaded to each server, a new task is run called "Prepare bundle". It installs the Meteor npm dependencies, rebuilds native modules, and stores the result in a docker image. This has a few benefits:
从1.3.1版开始,可以通过在mup.js中添加选项app.docker.prepareBundle
并将其设置为false
来禁用此任务.几周前,我处理了相同的错误,并且通过这种解决方法,我能够将应用程序部署到DigitalOcean.
From the version 1.3.1 this task can be disabled by adding the option app.docker.prepareBundle
in mup.js and setting it to false
. I dealt with the same error a few weeks ago and with this workaround I was able to deploy my application to DigitalOcean.