prisma / prisma-examples

🚀 Ready-to-run Prisma example projects

Home Page:https://www.prisma.io/docs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`npx try-prisma@latest --template typescript/rest-nextjs-express`: Oops! That isn't a valid template.

552020 opened this issue · comments

I got this error Oops! That isn't a valid template. after running the command npx try-prisma@latest --template typescript/rest-nextjs-express as in the README of the template.

I tried to install other templates like npx try-prisma@latest --template typescript/rest-nextjs-api-routes and it works, so it should not hang together with my setup.

Can confirm:

C:\Users\Jan\Documents\throwaway>npx try-prisma@latest --template typescript/rest-nextjs-express
Need to install the following packages:
  try-prisma@1.0.45
Ok to proceed? (y) y
Oops! That isn't a valid template.

I believe that is intentional.

The typescript/rest-nextjs-express is currently not the standard setup for building Next.js applications. We would recommend one of the other Next.js examples like typescript/rest-nextjs-api-routes

Same error.
If is intentional, its a big mistake, i think.
If i want do my API separeted from my front-end in express for exemple, i cant see this exemple?

I tried to copy the repository, I was unsuccessful.
:/