Build on AWS ECR fails due to old fibers package

Hi,

I’m relatively new to node and meteor and I’m having some trouble getting my meteor project to build on AWS/ECR (Docker). My app runs and builds fine locally, but when I try to deploy it to Docker the build fails due to a node version incompatibility issue with a very old version of fibers that’s being installed by something I can’t seem to find, I think from my meteor packages. Here’s my versions file:

aas395:angular-compilers@0.3.4
accounts-base@1.5.0
accounts-password@1.5.3
alanning:roles@1.2.19
aldeed:collection2@3.0.6
aldeed:moment-timezone@0.4.0
allow-deny@1.1.0
angular-html-compiler@0.3.4
angular-scss-compiler@0.3.4
angular-typescript-compiler@0.3.4
autoupdate@1.6.0
babel-compiler@7.5.3
babel-runtime@1.5.0
base64@1.0.12
binary-heap@1.0.11
boilerplate-generator@1.6.0
caching-compiler@1.2.1
callback-hook@1.3.0
check@1.3.1
coffeescript@1.0.17
ddp@1.4.0
ddp-client@2.3.3
ddp-common@1.4.0
ddp-rate-limiter@1.0.7
ddp-server@2.3.1
diff-sequence@1.1.1
dynamic-import@0.5.1
ecmascript@0.14.3
ecmascript-runtime@0.7.0
ecmascript-runtime-client@0.10.0
ecmascript-runtime-server@0.9.0
edgee:slingshot@0.7.1
ejson@1.1.1
email@1.2.3
es5-shim@4.8.0
fetch@0.1.1
geojson-utils@1.0.10
hot-code-push@1.0.4
http@1.4.2
id-map@1.1.0
inter-process-messaging@0.1.1
launch-screen@1.1.1
livedata@1.0.18
localstorage@1.2.0
logging@1.1.20
meteor@1.9.3
meteor-base@1.4.0
minifier-css@1.5.0
minifier-js@2.6.0
minimongo@1.4.5
mobile-experience@1.0.5
mobile-status-bar@1.0.14
modern-browsers@0.1.5
modules@0.15.0
modules-runtime@0.12.0
momentjs:moment@2.24.0
mongo@1.8.1
mongo-decimal@0.1.1
mongo-dev-server@1.1.0
mongo-id@1.0.7
nimble:restivus@0.8.12
npm-bcrypt@0.9.3
npm-mongo@3.6.0
ordered-dict@1.1.0
peerlibrary:aws-sdk@2.598.0_1
peerlibrary:blocking@0.6.0
percolate:migrations@1.0.2
promise@0.11.2
raix:eventemitter@1.0.0
random@1.1.0
rate-limit@1.0.9
reactive-dict@1.3.0
reactive-var@1.0.11
reload@1.3.0
retry@1.1.0
reywood:publish-composite@1.7.3
routepolicy@1.1.0
service-configuration@1.0.11
session@1.2.0
sha@1.0.9
shell-server@0.4.0
simple:json-routes@2.1.0
simple:rest@1.1.1
socket-stream-client@0.2.3
srp@1.0.12
standard-minifier-css@1.6.0
standard-minifier-js@2.6.0
tmeasday:check-npm-versions@0.3.2
tracker@1.2.0
underscore@1.0.10
url@1.2.0
webapp@1.8.2
webapp-hashing@1.0.9

And the version of fibers that’s getting installed is 2.0.2, specifically. Anyone else run into this or have any idea what could be happening?

Is fibers in your package.json?
If so, are you directly using it anywhere?
If not, meteor npm uninstall fibers

It’s very rare to use fibers directly instead of part of Meteor, and leads to a large set of new build issues, so is strongly recommended against.
Meteor has enough constructs to work with sync/async code in a sync fashion without needing a direct dependency.

If it’s not that, can you post your dockerfile?

Thanks for your quick response. I’m new to this whole stack and missed something in my dockerfile that was installing the extra stuff. All good on the meteor side of things.