[Bug?]: with-authjs template not working
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 539
- Forks
- 129
- Avg merge
- 23h 46m
- Merged PRs (30d)
- 23
Description
Duplicates
- I have searched the existing issues
Latest version
- I have tested the latest version
Current behavior 😯
When I create a new solid with pnpm create solid and select the with-authjs template I get the following warnings:
WARN Issues with peer dependencies found
.
└─┬ @solid-mediakit/auth 3.1.2
├── ✕ unmet peer @auth/core@^0.37.3: found 0.37.0
└── ✕ unmet peer vinxi@^0.4.3: found 0.5.3
When I run pnpm run dev the browser throws Uncaught SyntaxError: The requested module '/_build/node_modules/.pnpm/cookie@0.7.1/node_modules/cookie/index.js?v=656a2d77' does not provide an export named 'parse' (at.
When I update @auth/core to version 0.37.3 the error changes to Uncaught ReferenceError: exports is not defined.
Sams error message was mentioned on next.
Expected behavior 🤔
The example should work.
Steps to reproduce 🕹
Steps:
- pnpm create solid
- choose with-authjs
- pnpm i
- pnpm run dev
Context 🔦
No response
Your environment 🌎
Ubuntu 22.04
Node: 22.8.0
pnpm: 10.4.1
Contributor guide
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
Reproduce the with-authjs template using pnpm create solid, pnpm i, and pnpm run dev, then inspect its generated dependency versions and runtime errors. Done means the template starts without peer-dependency warnings or the reported browser errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nodejs, typescript
- Domain
- authentication, build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100