Comments (5)
@joaqo you can try to change "next" version in the package.json to "next": "13.2.4",
I'm a newbie too and this worked for me, thanks! Though now I have a new error, I don't know if I should be posting the problem here, but if I'll open up a new issue post if this persists.
ready - started server on 0.0.0.0:3000, url: http://localhost:3000 warn - You have enabled experimental features (appDir, serverComponentsExternalPackages) in next.config.js. warn - Experimental features are not covered by semver, and may cause unexpected or broken application behavior. Use at your own risk. info - Thank you for testing `appDir` please leave your feedback at https://nextjs.link/app-feedback 'pnpm' is not recognized as an internal or external command, operable program or batch file. info - Using wasm build of next-swc warn - Attempted to load @next/swc-win32-x64-gnu, but it was not installed warn - Attempted to load @next/swc-win32-x64-msvc, but an error occurred: The specified module could not be found. \\?\C:\Users\tama\Documents\dashboard\node_modules\@next\swc-win32-x64-msvc\next-swc.win32-x64-msvc.node event - compiled client and server successfully in 1321 ms (262 modules) wait - compiling... event - compiled client and server successfully in 295 ms (262 modules) wait - compiling /page (client and server)... event - compiled client and server successfully in 5.3s (2645 modules) [next-auth][warn][EXPERIMENTAL_API] `getServerSession` is used in a React Server Component. https://next-auth.js.org/configuration/nextjs#getServerSession} https://next-auth.js.org/warnings#EXPERIMENTAL_API [next-auth][warn][NEXTAUTH_URL] https://next-auth.js.org/warnings#nextauth_url [next-auth][warn][NO_SECRET] https://next-auth.js.org/warnings#no_secret error - TypeError: fetch failed error - TypeError: fetch failed digest: "3855851030"` ``
In ./app/page.tsx, a list of users retrieved from a MySQL database (PlanetScale). You need to either configure that, or remove it. http://127.0.0.1:3000/playground should work normally as the data is hardcoded.
from nextjs-planetscale-nextauth-tailwindcss-template.
@joaqo you can try to change "next" version in the package.json to "next": "13.2.4",
from nextjs-planetscale-nextauth-tailwindcss-template.
@joaqo you can try to change "next" version in the package.json to "next": "13.2.4",
I'm a newbie too and this worked for me, thanks! Though now I have a new error, I don't know if I should be posting the problem here, but if I'll open up a new issue post if this persists.
ready - started server on 0.0.0.0:3000, url: http://localhost:3000
warn - You have enabled experimental features (appDir, serverComponentsExternalPackages) in next.config.js.
warn - Experimental features are not covered by semver, and may cause unexpected or broken application behavior. Use at your own risk.
info - Thank you for testing `appDir` please leave your feedback at https://nextjs.link/app-feedback
'pnpm' is not recognized as an internal or external command,
operable program or batch file.
info - Using wasm build of next-swc
warn - Attempted to load @next/swc-win32-x64-gnu, but it was not installed
warn - Attempted to load @next/swc-win32-x64-msvc, but an error occurred: The specified module could not be found.
\\?\C:\Users\tama\Documents\dashboard\node_modules\@next\swc-win32-x64-msvc\next-swc.win32-x64-msvc.node
event - compiled client and server successfully in 1321 ms (262 modules)
wait - compiling...
event - compiled client and server successfully in 295 ms (262 modules)
wait - compiling /page (client and server)...
event - compiled client and server successfully in 5.3s (2645 modules)
[next-auth][warn][EXPERIMENTAL_API]
`getServerSession` is used in a React Server Component.
https://next-auth.js.org/configuration/nextjs#getServerSession}
https://next-auth.js.org/warnings#EXPERIMENTAL_API
[next-auth][warn][NEXTAUTH_URL]
https://next-auth.js.org/warnings#nextauth_url
[next-auth][warn][NO_SECRET]
https://next-auth.js.org/warnings#no_secret
error - TypeError: fetch failed
error - TypeError: fetch failed
digest: "3855851030"`
``
from nextjs-planetscale-nextauth-tailwindcss-template.
Hi, so the user table needs to be created manually on planetscale, the app doesn't create it if it doesn't exist correct?
from nextjs-planetscale-nextauth-tailwindcss-template.
Updating all deps (and README) here! #12
from nextjs-planetscale-nextauth-tailwindcss-template.
Related Issues (20)
- NextAuth issues HOT 2
- Could you add a protected route and page example? HOT 1
- Readme would be nice HOT 1
- feature request - docs on how to get this app working locally? HOT 2
- t
- Newer packages of tremor components require "use client" HOT 1
- Why LICENSE.md instead of LICENSE? HOT 1
- Upgrade nextjs version HOT 1
- Application error: a client-side exception has occurred HOT 3
- Update to app dir HOT 1
- Error Trying to Run Template After Initial Config HOT 1
- "During the deployment, Vercel will prompt you to create a new Postgres database" this does not happen HOT 2
- not startable. HOT 2
- Code: DEPLOYMENT_NOT_FOUND HOT 2
- Type error when deploying Next.js site to Vercel: "Property 'onClick' does not exist on type 'Disclosure.Button'" HOT 7
- Add Other Providers HOT 1
- Admin
- Deleted `.env` example HOT 1
- Login page get 404 HOT 10
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 nextjs-planetscale-nextauth-tailwindcss-template.