Giter Club home page Giter Club logo

Comments (12)

MichalCz avatar MichalCz commented on June 16, 2024 1

Ok. But that's a good lead - it is how I thought.

I'll follow up this week. If you can try to somehow mute this error in typescript config then please try to do so as a workaround. We'll fix this, but I can't give you dependable timelines yet (worst case scenario is end of the month).

M.

from scramjet.

MichalCz avatar MichalCz commented on June 16, 2024 1

My bad, the package was published to the internal repo. Thanks for the heads up.

I'll release today

from scramjet.

MichalCz avatar MichalCz commented on June 16, 2024 1

Fantastic! Another win for fixing at night, and another near-miss for deploying then. :D

from scramjet.

shahabali1993 avatar shahabali1993 commented on June 16, 2024

@MichalCz , @luccam-scr , @stokowski , @S4adam , can you please look into this issue?

from scramjet.

MichalCz avatar MichalCz commented on June 16, 2024

Will check. Typescript definitions of node/stream used to be pretty bad, so if you could try to downgrade @types/node to something older (16) and rebuild then I'd know where we stand.

A small issue I'm having is the very outdated way the definitions are done - so there are two options: if method signatures need changing it will be problematic, if only missing props are added, this should be easy.

I'm also seeing a small issue with the tests, but that's a false positive.

Anyway @shahabali1993, please confirm if downgrading @types/node to 16.x allows you to build Scramjet. If we're lucky that won't make your own build fail - if that's the case let me know, I'll try to set up a small test repo.

from scramjet.

shahabali1993 avatar shahabali1993 commented on June 16, 2024

@MichalCz thank you for the quick response, downgrading @types/node to 16.x worked with scramjet but now getting another issue with 'AbortSignal' related @types/node in file globals.d.ts.

Here's the link if you would like to follow:
DefinitelyTyped/DefinitelyTyped#66617

Scramjet and @types/node will have to be upgraded to latest in the future though.

from scramjet.

shahabali1993 avatar shahabali1993 commented on June 16, 2024

Thanks @MichalCz , please do inform here when it is fixed.

from scramjet.

MichalCz avatar MichalCz commented on June 16, 2024

Hey @shahabali1993 - I have the solution, but I still need to make this work with the build script. I'll inform you on the progress.

from scramjet.

MichalCz avatar MichalCz commented on June 16, 2024

@shahabali1993 please check with 4.37.0.

from scramjet.

shahabali1993 avatar shahabali1993 commented on June 16, 2024

@MichalCz I am unable to find 4.37.0, can you please specify where I can find it?
I tried updating the version in my package.json but it didn't work.

from scramjet.

MichalCz avatar MichalCz commented on June 16, 2024

It's published now. :)

from scramjet.

shahabali1993 avatar shahabali1993 commented on June 16, 2024

@MichalCz thank you for the quick fix.

Verified 4.37.0.
All errors have been resolved, scram-jet 4.37.0 is now working with the latest version of types/node 20.6.0.

from scramjet.

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.