Skip to content
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

Chapter 6 : pnpm issue data not seeding on vercel (does not show "connected" on vercel dashboard) #916

Open
cbmastery opened this issue Nov 10, 2024 · 3 comments

Comments

@cbmastery
Copy link

I uncomment the app/seed/route file and run the pnpm command and get this error.

PS C:\Users\xero\start\dash> pnpm i @vercel/postgres
 WARN  6 deprecated subdependencies found: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
Already up to date
Progress: resolved 250, reused 224, downloaded 0, added 0, done
 WARN  Issues with peer dependencies found
.
└─┬ next 15.0.0
  ├── ✕ unmet peer react@"^18.2.0 || 19.0.0-rc-65a56d0e-20241020": found 19.0.0-rc-cd22717c-20241013
  └── ✕ unmet peer react-dom@"^18.2.0 || 19.0.0-rc-65a56d0e-20241020": found 19.0.0-rc-cd22717c-20241013

Done in 2.8s

Then I go to vercel data tab for the project I just deployed but the tab wont let me click the drop downs.

If it helps, here is my github repo...

https://github.com/cbmastery/next_dash/blob/main/app/seed/route.ts

@razvanthered
Copy link

You forgot to remove line 105 that is returning an empty object as json instead of calling the methods to seed the data
return Response.json({});

@cbmastery
Copy link
Author

You forgot to remove line 105 that is returning an empty object as json instead of calling the methods to seed the data return Response.json({});

The error terminal is throwing me seems to suggest that id doesn't like version 19 of react because it is looking for 18.2 when I run pnpm i @vercel/postgres

@razvanthered
Copy link

Try downgrading your react version in package.json to ^18.2.0 and then use pnpm i to refresh the modules

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants