Comments (6)
Closing, we will support ts 5.5 on 3.0 but 2.0 will be compatible with 5.4.5 only.
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)
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.
--- 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)
- Blocks disappear when you collapse them HOT 3
- vercel times out on deployment HOT 1
- Migrations in production not being executed automatically. HOT 3
- Uploaded SVGs with <?xml /> tag fail to load on page
- Update serverExternalPackages for next dev --turbo HOT 2
- Admin condition not working for fields inside groups HOT 1
- Use graphql as peer dependency HOT 1
- Tying to use Payload local api in nextjs pages router api route breaks route. HOT 8
- Some arguments type is missing in afterOperation hook HOT 2
- Automatic Slug Generation Issue in Payload CMS 3.0 (Website Template) HOT 6
- Getting 404 on payload APIs on next.js Custom Express Server HOT 4
- .pyaload__modal-container is not hidden when you confirm leaving page from the Leaving without saving modal
- Unable to save draft before publishing - Customisable ID breaks autosave
- Internal error: TypeError: Cannot read properties of undefined (reading 'routes') HOT 1
- Rich Text Editor fails when pasting HOT 2
- useLivePreview() breaks when collection has an object array
- API still returns defaultLocale value even when fallback is set to false HOT 1
- Cannot change src of image url in Lexical Richtext Editor
- Attempting to query text field with hasMany within an array fails
- Component not found in importMap - 3.0.0-beta.80 HOT 3
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.