Hi All
I am busy trying to move project from vaadin 21 to a newer (supported ) version. (Yes I know vaadin 21 is not supported but I am trying to move away to something that is.)
A straight update of the pom from 21 to vaadin 24 results in about 800 or so errors and a build that will not run.
Sooo… a step by step increment in Vaadin versions with fixes was working until going from version 23.2.0 to 23.2.17 I do get a build but with errors and the build will not run.
I have tried deleting all node_modules .m2 folders and rebuilding the entire project from scratch.
However in the fresh project I am still getting the same error.
Running Vite to compile frontend resources. This may take a moment, please stand by…
@vaadin/bundles has version mismatches with installed packages, Vaadin component dependency bundles are disabled.
Packages with version mismatches: [
{
“name”: “@vaadin/vaadin-development-mode-detector”,
“bundledVersion”: “2.0.5”,
“installedVersion”: “2.0.6”
}
]
Started Vite. Time: 11607ms
➜ Local: http://127.0.0.1:62392/exceedweb/VAADIN/ERROR(TypeScript) ‘ReadableByteStreamController’ is referenced directly or indirectly in its own type annotation.
FILE C:/work/projects/exceed/exceed_vaadin2n/exceed/ExceedWeb/node_modules/@types/node/stream/web.d.ts:487:13485 | * @since v18.0.0 486 | */
487 | var ReadableByteStreamController: typeof globalThis extends
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
488 | { onmessage: any; ReadableByteStreamController: infer T } ? T
489 | : typeof import(“stream/web”).ReadableByteStreamController;
490 |ERROR(TypeScript) ‘ReadableStreamBYOBReader’ is referenced directly or indirectly in its own type annotation.
FILE C:/work/projects/exceed/exceed_vaadin2n/exceed/ExceedWeb/node_modules/@types/node/stream/web.d.ts:506:13504 | * @since v18.0.0 505 | */
506 | var ReadableStreamBYOBReader: typeof globalThis extends { onmessage: any; ReadableStreamBYOBReader: infer T }
| ^^^^^^^^^^^^^^^^^^^^^^^^
507 | ? T
508 | : typeof import(“stream/web”).ReadableStreamBYOBReader;
509 |ERROR(TypeScript) ‘ReadableStreamBYOBRequest’ is referenced directly or indirectly in its own type annotation.
FILE C:/work/projects/exceed/exceed_vaadin2n/exceed/ExceedWeb/node_modules/@types/node/stream/web.d.ts:516:13514 | * @since v18.0.0 515 | */
516 | var ReadableStreamBYOBRequest: typeof globalThis extends { onmessage: any; ReadableStreamBYOBRequest: infer T }
| ^^^^^^^^^^^^^^^^^^^^^^^^^
517 | ? T
518 | : typeof import(“stream/web”).ReadableStreamBYOBRequest;
519 |[TypeScript] Found 3 errors. Watching for file changes.
Any advice on how to fix this would be greatly appreciated.