Skip to content

[Bug?]: with-authjs template not working #264

Description

@floratmin

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:

  1. pnpm create solid
  2. choose with-authjs
  3. pnpm i
  4. pnpm run dev

Context 🔦

No response

Your environment 🌎

Ubuntu 22.04
Node: 22.8.0
pnpm: 10.4.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions