Giter Club home page Giter Club logo

Comments (6)

AlessioGr avatar AlessioGr commented on August 15, 2024 1

Are you on TypeScript 5.5 or 5.4? If you are on TypeScript 5.5, can you check if this issue still appears on 5.4? (We do not support TypeScript 5.5 on 2.0)

from payload.

bajzarpa avatar bajzarpa commented on August 15, 2024 1

Are you on TypeScript 5.5 or 5.4? If you are on TypeScript 5.5, can you check if this issue still appears on 5.4? (We do not support TypeScript 5.5 on 2.0)

Downgrading TS to 5.4 fixed this issue indeed. Thank you @AlessioGr

from payload.

paulpopus avatar paulpopus commented on August 15, 2024 1

Closing, we will support ts 5.5 on 3.0 but 2.0 will be compatible with 5.4.5 only.

from payload.

neslob avatar neslob commented on August 15, 2024

--- 2024-06-28 UPDATE ---

This happens on 3.0.0-beta.53 for me.


Getting the same error.

No idea, where this came from. Sadly I did not throughly committed while testing.

For me, even pnpm run dev broke.
But, I without turbo, it works.

    "start": "next dev",
    "dev": "next dev --turbo",

Breaking production builds could be solved by removing/commenting the generate code


// declare module 'payload' {
//   export interface GeneratedTypes extends Config {}
// }

from payload.

neslob avatar neslob commented on August 15, 2024

Oh! sorry, I have missed details (added above).

For me, it is happening on 3.0.0-beta.53.
Yes, it happens on TypeScript 5.5. But downgrading, did not solve it.

I am happy to open a separate issue.

from payload.

carstenblt avatar carstenblt commented on August 15, 2024

Oh! sorry, I have missed details (added above).

For me, it is happening on 3.0.0-beta.53. Yes, it happens on TypeScript 5.5. But downgrading, did not solve it.

I am happy to open a separate issue.

Check if ts is really downgraded. If you use ^5.4.5, pnpm will still install/keep 5.5.

Had the same problem, keeping 5.4.5 worked.

from payload.

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.