Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
552020 opened this issue Jun 9, 2023 · 3 comments

Comments

@552020
Copy link
Contributor

552020 commented Jun 9, 2023

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.

@janpio
Copy link
Contributor

janpio commented Jun 9, 2023

Can confirm:

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

@ruheni
Copy link
Contributor

ruheni commented Jul 4, 2023

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

@rhayonne
Copy link

rhayonne commented Aug 9, 2023

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.
:/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants