blitz-js / blitz

⚡️ The Missing Fullstack Toolkit for Next.js
https://Blitzjs.com
MIT License
13.67k stars 798 forks source link

Which recipes are current? #4363

Open chris-hailstorm opened 3 months ago

chris-hailstorm commented 3 months ago

What is the problem?

I just generated a stub app and tried blitz install for secureheaders.

After this step:

image

It failed:

image

Note there is no file named document.tsx in the generated project. That looks like a Blitz v1 artifact.

Paste all your error logs here:

N/A

Paste all relevant code snippets here:

N/A

What are detailed steps to reproduce this?

  1. blitz new Whatever
  2. cd Whatever
  3. blitz dev
  4. (stop dev server)
  5. blitz install secureheaders

Run blitz -v and paste the output here:

Blitz version: 2.0.10 (global)
Blitz version: 2.0.10 (local)
macOS Sonoma | darwin-arm64 | Node: v18.17.0

 Package manager: npm

  System:
    OS: macOS 14.3.1
    CPU: (11) arm64 Apple M3 Pro
    Memory: 109.19 MB / 36.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.17.0 - ~/.asdf/installs/nodejs/18.17.0/bin/node
    Yarn: 1.22.19 - ~/.asdf/shims/yarn
    npm: 9.6.7 - ~/.asdf/plugins/nodejs/shims/npm
  npmPackages:
    @blitzjs/auth: 2.0.10 => 2.0.10 
    @blitzjs/next: 2.0.10 => 2.0.10 
    @blitzjs/rpc: 2.0.10 => 2.0.10 
    @prisma/client: 5.4.2 => 5.4.2 
    blitz: 2.0.10 => 2.0.10 
    next: 14.1.4 => 14.1.4 
    prisma: 5.4.2 => 5.4.2 
    react: 18.2.0 => 18.2.0 
    react-dom: 18.2.0 => 18.2.0 
    typescript: ^4.8.4 => 4.9.5 

Please include below any other applicable logs and screenshots that show your problem:

No response

Vandivier commented 3 months ago

+1 I'm having this path error on a fresh app with blitz install tailwind as well

justinbalaguer commented 1 month ago

same here. this has been a problem for a couple of years,

andreiusq commented 1 week ago

Same here even after 3 months (bumping this lol). Tried blitz install chakra-ui on a fresh app and got the same thing.

justinbalaguer commented 6 days ago

btw i manually added tailwindcss for my project to work with it.