-
-
Notifications
You must be signed in to change notification settings - Fork 286
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
[BUG] Installation when selecting Prisma fails #2931
Labels
Comments
Looking at the package.json, it appears that Prisma never actually gets installed. Below is the default package.json created by running the installation command.
|
Update: by installing the CLI globally ( |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When using Prisma as the ORM for the database on installation, it fails citing an unknown command "npx prisma init".
To Reproduce
In an empty directory, run the installation command
npx -p @tsed/cli tsed init .
and during the prompts, selectDatabase
as a required component and choosePrisma
as the ORM manager for the database.Installation will appear to proceed, producing the package.json file as well as beginning to install the NPM packages and create default files.
Eventually the installation will attempt to run
npx prisma init
which causes the rest of the installation to fail.This occurs irrespective of what platform you choose (Express/Koa). No issues occur when you choose TypeORM.
Expected behavior
Installation should be successful and Prisma should be installed correctly alongside everything else.
Code snippets
Repository URL example
No response
OS
Ubuntu
Node version
20.12.2
Library version
8.3.2
Additional context
No response
The text was updated successfully, but these errors were encountered: