Skip to content
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

compile error typescript[Bug] #708

Closed
detrothe opened this issue Oct 3, 2023 · 2 comments
Closed

compile error typescript[Bug] #708

detrothe opened this issue Oct 3, 2023 · 2 comments
Labels

Comments

@detrothe
Copy link

detrothe commented Oct 3, 2023

I get a compiler error with current version 0.8.11 of two.js with typescript compiler tsc Version 5.2.2 . The error only happens with the typescript compiler tsc, which is used by vite to build the distribution version. The debug version with esbuild, which has its own typescript compiler?, works fine. The Problem existes on local machines (windows and Linux) and when deploying on Netlify.

tsc && vite build
line 2851: error TS2304: Cannot find name 'Anchor'
left: Anchor;
line 2857: error TS2304: Cannot find name 'Anchor'
right: Anchor;
Found 2 errors in the same file, ...

I had no problems in version 0.8.10

Hope it helps.

@detrothe detrothe added the bug label Oct 3, 2023
@jonobr1
Copy link
Owner

jonobr1 commented Oct 3, 2023

Thanks, this PR should resolve this issue: #709

@jonobr1 jonobr1 closed this as completed Oct 3, 2023
@detrothe
Copy link
Author

detrothe commented Oct 7, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants