Coder Social home page Coder Social logo

Comments (8)

ChristianMurphy avatar ChristianMurphy commented on July 19, 2024

Testing this out with Angular 11 this doesn't appear to be an issue https://codesandbox.io/s/angular-11-example-ssg15?file=/src/app/app.component.ts
Could you try upgrading the TypeScript version you are using? unist and most of unified and remark currently support TypeScript version 3 or higher. In the next major release TypeScript 4 and higher.
The error you as seeing looks like a TypeScript version 2 error.

from unist.

github-actions avatar github-actions commented on July 19, 2024

Hi! Thanks for taking the time to contribute! This has been marked by a maintainer as needing a reproduction: It’s not yet clear whether this is a problem. Here are a couple tips:

  • Thoroughly document how to reproduce the problem, in steps or with code
  • Don’t link to your complete project: make the repro as tiny as possible, preferrably with only the problematic project in question
  • Make sure you’re on the latest versions of projects (and node/npm/yarn!)
  • The best issue report is a failing test proving it

Thanks,
— bb

from unist.

github-actions avatar github-actions commented on July 19, 2024

Hi team! I don’t know what’s up as there’s no phase label. Please add one so I know where it’s at.

Thanks,
— bb

from unist.

github-actions avatar github-actions commented on July 19, 2024

Hi! Thanks for taking the time to contribute! This has been marked by a maintainer as needing a reproduction: It’s not yet clear whether this is a problem. Here are a couple tips:

  • Thoroughly document how to reproduce the problem, in steps or with code
  • Don’t link to your complete project: make the repro as tiny as possible, preferrably with only the problematic project in question
  • Make sure you’re on the latest versions of projects (and node/npm/yarn!)
  • The best issue report is a failing test proving it

Thanks,
— bb

from unist.

github-actions avatar github-actions commented on July 19, 2024

Hi team! Could you describe why this has been marked as wontfix?

Thanks,
— bb

from unist.

ChristianMurphy avatar ChristianMurphy commented on July 19, 2024

This works on supported versions of Angular (https://angular.io/guide/releases#support-policy-and-schedule) and supported versions of TypeScript (version 3+).

from unist.

mohamedumer avatar mohamedumer commented on July 19, 2024

We tried to upgrade Typescript greater than 3. but getting error while running yarn install, so we checked out with Ts 2.9.2 then the build is fine in local. where in pipeline still we are facing issue with the app build, which takes longer time, eventually getting failed. is there anything to consider apart from Typescript upgrade. @ChristianMurphy

from unist.

ChristianMurphy avatar ChristianMurphy commented on July 19, 2024

A TypeScript upgrade to version 3 or higher is the more consistent and likely way to get it to work.

You could try pinning older versions of types packages that are failing, so see if they work with legacy typescript.
Or you could manually edit typings with https://github.com/ds300/patch-package#readme to remove features until it works with legacy typescript versions.

from unist.

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.