sample-next-auth-pages does not build
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 65
- Forks
- 13
- Avg merge
- 1m
- Merged PRs (30d)
- 6
Description
Creating an issue to track a few problems I've found with the app:
xata:initinpackage.jsonrefers to a--schema=schema.template.jsonwhen it should be--schema=schema-template.json. Hyphen not period.- The app uses
getServerSession, which requires thereqparam to be aNextApiRequest, but thereqis a standard Request. - References to
import { XataClient } from '~/lib/xata.codegen'should be updated to~/shared/xata.codegen
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in package.json to inspect the xata:init schema filename, then search the sample-next-auth-pages app for getServerSession and XataClient imports. Run the app's build to reproduce the failures; done means the sample builds with the corrected schema path, request type usage, and shared XataClient import path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nextjs, typescript
- Domain
- full-stack
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100