-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[3.0.0-beta.36] generate:types fails when nestedDocs plugin is installed #6548
Comments
How does your import statement look? It was recently changed. This is what it should look like:
|
My Import looks like this However if i change it to the import statement you have provided I'm getting I have |
Nevermind, the TS Server in VSCode silently crashed... I am closing the issue |
This issue has been automatically locked. |
Link to reproduction
No response
Payload Version
v3 beta
Node Version
v20.10.0
Next.js Version
15.0.0-rc.0
Describe the Bug
When including the nestedDocs plugins
payload generate:types
throwsTypeError: nestedDocs is not a function
. IfI comment out the plugin, it works as expected.
The Plugin config looks like this:
Reproduction Steps
npm payload generate:types
Adapters and Plugins
nestedDocs, db-postgres
The text was updated successfully, but these errors were encountered: