https://pulumi.com logo
Title
b

better-secretary-59658

05/17/2022, 4:32 PM
Is anyone having issues related to the aws-lambda node package? I am getting several errors across multiple projects. Though some errors are different, the issue remains the same. This occurs when trying to run 'npm run build'. Not sure if it is a mismatch of typescript or a recently updated node package. node_modules/@types/aws-lambda/trigger/cloudfront-request.d.ts1️⃣13 - error TS1005: '=' expected. 1 import type { CloudFrontEvent, CloudFrontRequest, CloudFrontResultResponse } from "../common/cloudfront"; node_modules/@types/aws-lambda/trigger/cloudfront-request.d.ts1️⃣83 - error TS1005: ';' expected. 1 import type { CloudFrontEvent, CloudFrontRequest, CloudFrontResultResponse } from "../common/cloudfront"; node_modules/@types/aws-lambda/trigger/cloudfront-request.d.ts2️⃣13 - error TS1005: '=' expected. 2 import type { Handler, Callback } from "../handler"; node_modules/@types/aws-lambda/trigger/cloudfront-request.d.ts2️⃣40 - error TS1005: ';' expected. 2 import type { Handler, Callback } from "../handler";
Resolved this issue with a version bump of awsx to 1.0.0-beta.5 from 0.31.0.