-
Notifications
You must be signed in to change notification settings - Fork 185
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
Error with angular 8.2.14 when ng serve #266
Comments
I have a similar issue. What was the fix in your case? |
fix the transloco versions without ^ ie:
|
Thanks for sharing it. It looks like there's an issue with version 2.14.1 of transloco that forces the apps to upgrade the angular cli and typescript version latest version. From what I understand there is some breaking change in typescript that causes it. |
@ciprian-iacob you are correct, I'm reverting back the TS version and I'll release it in v2.14.2. |
@shaharkazaz Yes, sure. |
@ciprian-iacob should be up, can you verify? 🙂 |
@shaharkazaz I can confirm that v2.14.2 is working fine in my testing and the issue describe above is no longer reproducible. Thank you for the fast response and quick fix. Keep up the good work. |
Thx @shaharkazaz |
Now with v2.14.2, angular 6 & 7 they both fail. I had to downgrade to v2.14.0
I think transloco needs a new major version or a README update with breaking changes |
I'm submitting a...
Current behavior
When I do ng serve i get this error:
ERROR in ../node_modules/@ngneat/transloco/lib/transloco.service.d.ts:33:9 - error TS1086: An accessor cannot be declared in an ambient context.
33 get config(): TranslocoConfig;
Expected behavior
No error, supporting angular 8 ? Typescript 3.5.3
Environment
"@angular/core": "~8.2.14",
"@ngneat/transloco": "^2.14.0",
"@ngneat/transloco-locale": "^1.1.1",
"@ngneat/transloco-persist-lang": "^1.0.2",
"@ngneat/transloco-persist-translations": "^1.0.0",
"typescript": "3.5.3"
Browser:
For Tooling issues:
The text was updated successfully, but these errors were encountered: