Discussions

Ask a Question
Back to All

Issue with Vercel deployment for a custom app

I am trying to deploy on vercel with the instructions provided but it seems it keeps failing

Creating an optimized production build ... ✓ Compiled successfully Linting and checking validity of types ...Failed to compile../node_modules/copilot-node-sdk/codegen/api/core/CancelablePromise.ts:26:5Type error: Private identifiers are only available when targeting ECMAScript 2015 and higher. 24 | 25 | export class CancelablePromise<T> implements Promise<T> {> 26 | #isResolved: boolean; | ^ 27 | #isRejected: boolean; 28 | #isCancelled: boolean; 29 | readonly #cancelHandlers: (() => void)[];Error: Command "yarn run build" exited with 1

This is with the main branch of the custom app github repo