Coder Social home page Coder Social logo

Comments (17)

DSerp avatar DSerp commented on May 25, 2024 11

This problem was actually introduced from the latest version of typescript (5.4.2), problem does not occur on the previous major release (5.3.3)

from platform.

thegtzz avatar thegtzz commented on May 25, 2024 4

error was solved with tsc 5.3.3

but was introduced again with angular-cli 17.3.0 today installing angular 17.2.2 again solved the error

as for me, tsc 5.3.3 works well with angular 17.3.0

from platform.

ruizmarc avatar ruizmarc commented on May 25, 2024 4

@timdeschryver According to Typescript microsoft/TypeScript#57750 problem was fixed in 5.4.3 but it is still happing with Angular 17.3.1 and Typescript 5.4.3

from platform.

rafparedis avatar rafparedis commented on May 25, 2024 3

This error also popped up after updating to angular 17.3.0 and typescript 5.4.2.
Downgrading typescript to 5.3.3 fixed the compile error

from platform.

EranKT avatar EranKT commented on May 25, 2024 2

error was solved with tsc 5.3.3

but was introduced again with angular-cli 17.3.0 today
installing angular 17.2.2 again solved the error

from platform.

johnpapa avatar johnpapa commented on May 25, 2024 2

error was solved with tsc 5.3.3
but was introduced again with angular-cli 17.3.0 today installing angular 17.2.2 again solved the error

as for me, tsc 5.3.3 works well with angular 17.3.0

Also for me it works well, but when Ngrx is installed the error returns

My mistake. I didn’t see that my typescript version was 5.4.2 Downgrade to 5.3.3 worked also for me

This did not work for me. Runs fine in Angular v16.x.x but with Angular 17 and even typescript 5.3.3, it fails.

from platform.

davesmits avatar davesmits commented on May 25, 2024 1

They released typescript 5.4.4 today but didn't fix this issue

from platform.

brandonroberts avatar brandonroberts commented on May 25, 2024 1

The fix has been released with NgRx 17.2.0

from platform.

KevinRattan avatar KevinRattan commented on May 25, 2024 1

Thank you! That did the trick. Now builds for me everywhere, including in docker.

from platform.

thegtzz avatar thegtzz commented on May 25, 2024

confirm, that tsc 5.3.3 solved the problem

from platform.

EranKT avatar EranKT commented on May 25, 2024

error was solved with tsc 5.3.3
but was introduced again with angular-cli 17.3.0 today installing angular 17.2.2 again solved the error

as for me, tsc 5.3.3 works well with angular 17.3.0

Also for me it works well, but when
Ngrx is installed the error returns

from platform.

timdeschryver avatar timdeschryver commented on May 25, 2024

This seems to be an issue on TypeScript's side.
See microsoft/TypeScript#57750

from platform.

EranKT avatar EranKT commented on May 25, 2024

error was solved with tsc 5.3.3
but was introduced again with angular-cli 17.3.0 today installing angular 17.2.2 again solved the error

as for me, tsc 5.3.3 works well with angular 17.3.0

Also for me it works well, but when Ngrx is installed the error returns

My mistake. I didn’t see that my typescript version was 5.4.2
Downgrade to 5.3.3 worked also for me

from platform.

PhilFlash avatar PhilFlash commented on May 25, 2024

Same problem with angular 17.3.1 and the latest version typescript 5.4.3.
Downgrading typescript to 5.3.3 fixed the compile error

from platform.

achraf-elk avatar achraf-elk commented on May 25, 2024

same v17.3.1 with v5.4.3 doesn't work, just brought back Typecript v5.3.3

from platform.

KevinRattan avatar KevinRattan commented on May 25, 2024

I've been investigating this further. The downgrade of TS works on my (intel) mac. It works on Linux. It works in Github actions. Where it does not work is when building with Docker - even using the same version of node. I've tried various base images, but all lead to the same error.

from platform.

EranKT avatar EranKT commented on May 25, 2024

As far as I understand NGRX need to release a version that support typescript 5.4.3 and above.
Typescript introduced a breaking change on this version.

from platform.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.