You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also, either you're using an outdated create-payload-app, or create-payload-app wasn't used in creating your reproduction.
Whenever a project is made using cpa, an .npmrc file is written that contains legacy-peer-deps=true in it, which will handle automatically installing peer dependencies.
Describe the Bug
Salam everyone.
I have created a Next.JS application using
npx create-next-app@latest
then initialised Payload usingnpx create-payload-app
.When I navigated to
/admin
an error occurred saying something likeUnable to resolve @floating-ui/react
.When I have downloaded
@floating-ui/react
andreact-onclickoutside
package, everything worked just fine.This is the commit for what I have done to fix it in my repository:
shawqicauses/shawqi-stack@8140c6c
Thanks.
Link to the code that reproduces this issue
https://github.com/shawqicauses/shawqi-stack
Reproduction Steps
npx create-next-app@latest
npx create-payload-app
Which area(s) are affected? (Select all that apply)
area: core
Environment Info
The text was updated successfully, but these errors were encountered: