-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Can not find module '@payloadcms/next/views' or its corresponding type declarations. #9343
Comments
Hey @shawqicauses - we are officially out of So when creating a new project, you just need to do It'll be on 3.0 out of the box. Can you try this out and let me know if you're still experiencing issues with your dependencies being installed? Thanks! I just tested it out and didn't experience any issues - going to close this but if you are still seeing issues, I'll reopen! |
Hey @shawqicauses, Sorry to hear about the troubles you're experiencing! I see a few issues in the project where you're trying to install Payload into and I'd like to list some things that come to mind that could help.
It may be worth it to test out Payload in a new project using something like the website template as a guide, and then move over the necessary things from your current project since it's a starter anyway. In this way you can get more comfortable with Payload and have a working app. |
@akhrarovsaid Thanks for the additional info here! @shawqicauses Did you happen to give the above a try? |
@PatrikKozak Yes, you can close this issue. In my legacy starter template because of React.JS version and other libraries like ShadCN/UI, Payload CMS could not download its packages correctly, I created a new Next.JS application and initialised Payload and it worked just fine. I created another issue for something else did not work as intended but it is closed now. In general, everything is okay now, thanks! |
This issue has been automatically locked. |
Describe the Bug
I tried
create-payload-app@beta
and it fails in installing dependencies. So, I tried to install Payload and its dependencies my self. But,@payloadcms/next/views
does not haveview
module.Link to the code that reproduces this issue
https://github.com/payloadcms/payload-3.0-demo/blob/main/src/app/(payload)/admin/%5B%5B...segments%5D%5D/page.tsx
Reproduction Steps
npx create-payload-app@beta
npm install --save payload@beta @payloadcms/next@beta @payloadcms/richtext-lexical@beta @payloadcms/payload-cloud@beta @payloadcms/db-mongodb@beta graphql@^16.8.1 --legacy-peer-deps
Which area(s) are affected? (Select all that apply)
area: core
Environment Info
The text was updated successfully, but these errors were encountered: