-
Notifications
You must be signed in to change notification settings - Fork 163
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
Angular 10 Compatibility Issue #1003
Comments
@harisnewbie could you try enabling skipLibCheck in your |
I tried enabling skipLibCheck but it doesn't seem to fix the issue.
|
Hi @harisnewbie , @davidzhao is right, I'm not super familiar with the angular setup, is angular trying to build the library from scratch or is it "just" doing the typechecking? |
Hello @lukasIO, Stackblitz URL : https://base-angular-12-app-9pfoeg.stackblitz.io |
thanks for the stackblitz reproduction, could we get an editable link for this, too? right now there's no way (I think) to see the setup code, only the output gets shown on that link |
Here you go : |
hm, with ivy disabled it starts working for me https://stackblitz.com/edit/base-angular-12-app-tk1ssq?file=tsconfig.json I think the path to |
Below is my current tsconfig.json
I am not sure where I am going wrong but it won't work in the main project. Let me keep trying. |
with flattened dependencies (the default for npm) it probably won't be enough to exclude livekit-client as most of the errors you posted at the beginning of the thread originate from a third party dependency (protobuf-es) that livekit-client uses internally.
there's a typo in there. Also, I read that since Angular 12 you cannot "simply" disable ivy? not sure how that works, for stackblitz there was an explicit option in the settings menu for that. |
I changed the value for exclude parameter to
And yes, you're right. Disabling Ivy is not an option from Angular 12 and above. :( |
@harisnewbie did you find the solution? I have the same problem and unfortunately the methods mentioned above do not work for me. |
Describe the bug
After importing the Livekit Client in a component, the angular app won't start. It seems to be a compatibility issue.
Server
Client
To Reproduce
Steps to reproduce the behavior:
npx -p @angular/[email protected] ng new angular10App
npm install livekit-client --save
import { Room } from 'livekit-client';
Additional Context
I am switching over from Twilio to Livekit. The project is too large and it would require updating the app to at least 5 major versions to meet the required typescript version. It would be great if the client SDK was backwards compatible.
Log
The text was updated successfully, but these errors were encountered: