Comments (6)
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.
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.
Closing, we will support ts 5.5 on 3.0 but 2.0 will be compatible with 5.4.5 only.
from payload.
--- 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.
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.
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)
- Search results entry fields are not updated correctly when collection entry fields are updated across multiple languages HOT 6
- Admin filter for checkbox type is not translated.
- Upload by URL in file upload dialog causes CORS error if file is not on the same domain HOT 2
- Custom label for field in lexical block crashes admin panel
- Preview broken for localization EN when creating from FR with Postgres HOT 1
- Cannot publish a single locale and keep other locales in draft HOT 1
- Lots of inlined Scripts for Lexical and other component contexts causing inflated Admin Panel Size HOT 11
- Toast shows generic message from list view in admin panel
- Several inlined translations from unused locals HOT 1
- ⨯ Failed to download `Merriweather` from Google Fonts. Using fallback font instead HOT 1
- SEO + Tenancy + Global + Postgres does not seem to save/update
- Changing the cookie prefix prevents login in Next.js standalone mode
- Build production Error HOT 2
- Safari, @payloadcms/richtext-lexical, Invalid regular expression: invalid group specifier name HOT 4
- Move segments to root instead of /admin HOT 2
- Collection throws ValidationError when using slug `pages` HOT 1
- Locale overwriting (critical bug) HOT 6
- Serverless & db connections on vercel HOT 2
- Next dev & mongo adapter HOT 2
- DefaultTemplate not rendering any menu items in sidebar HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from payload.