Effect CommunityEC
Effect Community2y ago
17 replies
Victor Korzunin

Error encountered when running effect bundle in LLRT (Low Latency Runtime) Lambda runtime

Making an attempt running effect bundle in https://github.com/awslabs/llrt facing this error:
log 
2024-02-13T20:59:10.350Z    n/a    ERROR    {
  errorType: 'TypeError',
  errorMessage: 'cannot convert to bigint',
  stackTrace: [ '    at <anonymous> (/var/task/index.js:7083:92)', '    at ../../node_modules/.pnpm/effect@2.2.5/node_modules/effect/dist/esm/internal/clock.js (/var/task/index.js:7085:47)', '    at __init (/var/task/index.js:16:23)', '    at ../../node_modules/.pnpm/effect@2.2.5/node_modules/effect/dist/esm/internal/defaultServices.js (/var/task/index.js:7742:5)', '    at __init (/var/task/index.js:16:23)', '    at ../../node_modules/.pnpm/effect@2.2.5/node_modules/effect/dist/esm/internal/console.js (/var/task/index.js:15289:5)', '    at __init (/var/task/index.js:16:23)', '    at ../../node_modules/.pnpm/effect@2.2.5/node_modules/effect/dist/esm/Effect.js (/var/task/index.js:16334:5)', '    at __init (/var/task/index.js:16:23)', '    at ../../node_modules/.pnpm/@effect-aws+client-s3@1.0.1_effect@2.2.5/node_modules/@effect-aws/client-s3/lib/esm/S3ClientInstance.js (/var/task/index.js:16937:5)', '    at __init (/var/task/index.js:16:23)', '    at ../../node_modules/.pnpm/@effect-aws+client-s3@1.0.1_effect@2.2.5/node_modules/@effect-aws/client-s3/lib/esm/index.js (/var/task/index.js:23001:5)', '    at __init (/var/task/index.js:16:23)', '    at src/index.ts (/var/task/index.js:32119:5)', '    at __require2 (/var/task/index.js:19:17)', '    at <anonymous> (/var/task/index.js:32135:16)', '' ]
}
I know it's still experimental, but what could be the issue. target es2020 , according to node.green, supports bigint
Was this page helpful?