@mikkelking - is the package Meteor 3.x compatible?
We’ve just updated our app to Meteor 3.1.2 and while everything is working fine I’m now getting an error from within the package that I didn’t get before:
message: Match error: Expected object, got undefined
stack: Error: Match error: Expected object, got undefined
at format (packages/check/match.js:11:15)
at check (packages/check/match.js:53:13)
at Object.applySignature (packages/mikkelking:slingshot/services/aws-s3.js:285:7)
at Object.upload (packages/mikkelking:slingshot/services/aws-s3.js:143:10)
at Slingshot.Directive.getInstructions (packages/mikkelking:slingshot/lib/directive.js:152:46)
at MethodInvocation.slingshot/uploadRequest (packages/mikkelking:slingshot/lib/directive.js:234:22)
at packages/montiapm:agent/lib/hijack/wrap_session.js:208:57
at AwaitDetector.detect (/home/zcloud/app/programs/server/npm/node_modules/meteor/montiapm_agent/node_modules/@monti-apm/core/src/await-detector.ts:105:14)
at MethodInvocation.methodMap.<computed> (packages/montiapm:agent/lib/hijack/wrap_session.js:208:28)
at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1748:12)
at packages/ddp-server/livedata_server.js:601:19
at AsyncLocalStorage.run (node:internal/async_local_storage/async_hooks:91:14)
at EnvironmentVariableAsync.withValue (packages/meteor.js:1431:29)
at packages/ddp-server/livedata_server.js:599:46
at AsyncLocalStorage.run (node:internal/async_local_storage/async_hooks:91:14)
at EnvironmentVariableAsync.withValue (packages/meteor.js:1431:29)
This is the relevant code where it breaks
Can anyone help, it’s quite essential to our app.
Thanks in advance,
Andreas
UPDATE: it was indeed a problem caused by our update to Meteor 3.x - we have forked the app and fixed it. It can be found under ferjep:slingshot