fierce-salesclerk-54365
08/23/2024, 11:10 AMzod
package (for some nice schema checking). I am getting this error (in thread), is there any special balena config I am missing?
I have tried using an awaited import for the package in the provider instead, but that also fails with error: __importStar is not defined
fierce-salesclerk-54365
08/23/2024, 11:10 AMerror: Error serializing '() => provider': index.js(50,43)
'() => provider': index.js(50,43): captured
variable 'provider' which indirectly referenced
function 'create': balena-device.ts(58,10): which captured
module './../../lib/providers/balena.ts' which indirectly referenced
function 'Balena': balena.ts(34,15): which referenced
function 'attemptRemoveAllVars': balena.ts(169,24): which captured
module './../../utils/device-validation.ts' which indirectly referenced
function 'balenaDeviceExistsInStack': device-validation.ts(13,34): which captured
module './../../types/device.ts' which indirectly referenced
function 'validateDevices': device.ts(12,24): which captured
module './../../types/device.ts' which indirectly referenced
function 'bound safeParseAsync': which could not be serialized because
the function could not be parsed: ')' expected.