https://serverless-stack.com/ logo
#help
Title
# help
d

Daniel Ashcraft

06/15/2022, 3:33 PM
Has anyone seen this error before?
Copy code
✘ [ERROR] Top-level await is not available in the configured target environment ("node14")

    node_modules/@serverless-stack/resources/dist/AppSyncApi.js:4:26:
      4 │ const { mergeTypeDefs } = await Util.weakImport("@graphql-tools/merge");
t

thdxr

06/15/2022, 3:56 PM
hm
are you on the latest sst?
and can I see your tsconfig?
also are you seeing this error on sst start?
d

Daniel Ashcraft

06/15/2022, 4:23 PM
This is on sst start when i try to hit the handler for a lambda no tsconfig, we haven't used typescript, yet
Copy code
SST: 1.2.15
CDK: 2.24.0
5 Views