#crypto
1 messages · Page 1 of 1 (latest)
I see, I'm using remix-auth-socials as well to be mentioned, the error occurs when added the following route: // routes/login.tsx
import { Form } from "@remix-run/react";
// OR
// import { Form } from "@remix-run/node";
export default function Login() {
return (
<Form action="/auth/github" method="post">
<button>Login with GitHub</button>
</Form>
);
}
are your importing from @remix-run/node?
both give the same error
I'm not expert on Hydrogen since I never used it but you should probably import from another package because you're not using Node
it's possible remix-auth-socials is causing an issue too
ok I'll have another look, thanks for your time
Interesting that the default setup requires the following:
https://github.com/sergiodxa/remix-auth:
// app/services/session.server.ts
import { createCookieSessionStorage } from "@remix-run/node";
which is fine and can npm run dev, just when adding that simple route it fails