update all npm packages to the latest version
Stephan Arenswald
Author
Fixed it by telling typescript to target es2021 instead of es2022 which is the default with ts 4.6.1 and target ESNext 💪
Stephan Arenswald
Author
Unfortunately yes. VError doesn’t work with typescript 4.6. So the build breaks. Need to find out how to fix this over the weekend 😮💨
Stephan Arenswald
Author
The error is exactly this: https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/59093
Please sign in to leave a comment.