-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeScript compilation fails #272
Comments
I had seen this error in the CI build at #271 , but this PR had become obsolete in the meantime, due to the switch to the external I'd expect the same error to appear in the I have not yet investigated the reason for this error, though. I assume that it is just a trivial thing, probably just some |
@here-abarany You mentioned
I don't see why this TypeScript version should be relevant here. It should not use a 5.x.x version anyhow. I investigated this a bit, based on the (closed and obsolete) PR and branch mentioned above, I'm about 99.9% sure that this issue is caused by DefinitelyTyped/DefinitelyTyped#65035
The sequence of commits is at https://github.com/javagl/3d-tiles-validator/commits/unzip-package-entries The last one contains a workaround for the issue. Basically two
But ... that looks quirky to me: Whether or not a That could/should have been done anyhow, particularly in the validator. Right now, the |
@javagl I thought it might have been the typescript release and somehow not respecting the pinned version based on the timing of the release, but your results of looking at the better-sqlite3 types release makes more sense. Thanks for getting the fix in. Do you have a rough idea of when a |
The validator and tools have largely been rewritten, and there will probably be some glitches like that in the first releases, but we're trying to converge to a stable state here. (Discalimer: As stable as it can be, with things like that The current ( |
(BTW: I think this can be closed, but if there is any other feedback, feel free to add it here, or open a new issue) |
As of about two weeks ago, TypeScript compilation fails with the following error:
This seems to correspond with 5.0.3 release of TypeScript 2 weeks ago. I tried manually installing typescript 4.9.5, and verified that both the 3d-tiles-validator and global
node_modules
have that version installed, but it still fails.For some reason it works locally on Arch Linux with Node 19, even after deleting the cached node modules. However, it fails both on Rocky Linux 9 with Node 16 and Alpine Linux with Node 19 when running through Docker.
This affects the tagged versions (0.4.0), and HEAD as at least before the switch to use the external 3d-tiles-tools. (I haven't been able to verify since the switch to external 3d-tiles-tools due to CesiumGS/3d-tiles-tools#23)
The text was updated successfully, but these errors were encountered: