question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Typescript error on deployment to AWS

See original GitHub issue

I’m getting this error while deploying to AWS ElasticBeanstalk environment. BTW, In local, it works perfectly.

node_modules/algosdk/dist/types/src/types/utils.d.ts(19,84): error TS2344: Type 'K' does not satisfy the constraint 'Partial<T>'.

Local Environment

TS: 4.6.3
Node: 16.4
SDK: 1.19.1

EB Environment

TS: 4.6.3
Node: 16 running on 64bit Amazon Linux 2/5.5.5 (arm64)
SDK: 1.19.1

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:1
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
hernandpcommented, Sep 2, 2022

UPDATE: Upgraded to Typescript 4.7.4, error gone.

1reaction
Vidhyanandcscommented, Sep 6, 2022

UPDATE: Upgraded to Typescript 4.7.4, error gone.

Worked for me

Read more comments on GitHub >

github_iconTop Results From Across the Web

AWS Lambda function errors in TypeScript
This page describes how to find TypeScript source code for Lambda function invocation errors in the Node.js runtime.
Read more >
Typescript Deployment issues (no issues local deployment)
I am working on a typescript website that is hosted on AWS amplify through a Github repo and I have been having intermittent...
Read more >
How to deploy a Node Typescript app to AWS Elastic ...
How to deploy a Node Typescript app to AWS Elastic Beanstalk using AWS Code Build ... Now to the meat of this article,...
Read more >
Amazon Lambda function errors in TypeScript - 亚马逊云科技
If an exception occurs in TypeScript code that's transpiled into JavaScript, use source map files to determine where the error occurred.
Read more >
Deploy Your NodeJS Typescript App to AWS Elastic Beanstalk ...
Let's deploy a NodeJS App to AWS.Video InfoMusic by Tesko / prod.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found