GithubHelp home page GithubHelp logo

Comments (5)

sheldondotswift avatar sheldondotswift commented on May 12, 2024 3

@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.

image

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.

Bon4ik avatar Bon4ik commented on May 12, 2024 2

@joaqo you can try to change "next" version in the package.json to "next": "13.2.4",

from nextjs-planetscale-nextauth-tailwindcss-template.

freckledAsf avatar freckledAsf commented on May 12, 2024

@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.

image

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.

billtlee avatar billtlee commented on May 12, 2024

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.

leerob avatar leerob commented on May 12, 2024

Updating all deps (and README) here! #12

from nextjs-planetscale-nextauth-tailwindcss-template.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.