Closed jmuncaster closed 5 months ago
Thanks for this great project.
I am having trouble testing out a production build. When I enter a container and try to build the production bundle, I get the following linter error:
root@374ceeea466f:/app/apps/web# npm run build ... ✓ Compiled successfully Linting and checking validity of types .Failed to compile. Linting and checking validity of types ..../../packages/types/api/core/CancelablePromise.ts:25:3 Type error: Private identifiers are only available when targeting ECMAScript 2015 and higher. 23 | 24 | export class CancelablePromise<T> implements Promise<T> { > 25 | #isResolved: boolean | ^ 26 | #isRejected: boolean 27 | #isCancelled: boolean 28 | readonly #cancelHandlers: (() => void)[]
Am I building this wrong? How to fix? Thanks!
This was fixed by regenerating the openapi types.
npm run openapi:generate
Suggested fixes:
Thanks for this great project.
I am having trouble testing out a production build. When I enter a container and try to build the production bundle, I get the following linter error:
Am I building this wrong? How to fix? Thanks!