News for hackers. Stuff that matters.
Re:Blitz: A Fullstack React Framework, Built on Next.js by cutler on Monday June 07, 2021 @02:04PM (#27425864)
Attempting to signup with a valid email address returned the error:

    node[7117]: ../src/node_http_parser.cc:567:static void
    node::(anonymous namespace)::Parser::Initialize(const
    FunctionCallbackInfo<v8::Value> &): Assertion
    `args[3]->IsInt32()' failed.
... which crashed Node. And later:

    Starting Prisma Studio ...
    Generating Prisma Client ... done
    Prisma Studio is up on http://localhost:5555
    node[9328]: ../src/node_http_parser.cc:567:static void  
    node::(anonymous namespace)::Parser::Initialize(const  
    FunctionCallbackInfo<v8::Value> &): Assertion  
    `args[3]->IsInt32()' failed.
    1: 0x107245c85 node::Abort() [/usr/local/bin/node]
Server restart is also slow now I'm used to esbuild. Overall, not at all impressed.
Re:Blitz: A Fullstack React Framework, Built on Next.js by flybayer on Monday June 07, 2021 @06:19PM (#27427967)
Update: Upgrading to latest prisma fixes this. I'm fixing our new app template as we speak.
Re:Blitz: A Fullstack React Framework, Built on Next.js by cutler on Monday June 07, 2021 @10:21PM (#27429937)
Where can I find this? Re-install blitz with npm or git clone?
Re:Blitz: A Fullstack React Framework, Built on Next.js by flybayer on Monday June 07, 2021 @11:04PM (#27430196)
npm i prisma@latest @prisma/client@latest
Re:Blitz: A Fullstack React Framework, Built on Next.js by flybayer on Monday June 07, 2021 @02:47PM (#27426466)
This is because Prisma doesn’t yet work with Node 16. So not something specific to Blitz.

We have speed improvements on the way.

Re:Blitz: A Fullstack React Framework, Built on Next.js by cutler on Monday June 07, 2021 @06:01PM (#27427689)
Might be worth posting a note to that effect on the Getting Started page.