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

Add support for nestjs cli add command. [FEATURE REQUEST] #1448

Open
tgarvey opened this issue May 13, 2023 · 0 comments
Open

Add support for nestjs cli add command. [FEATURE REQUEST] #1448

tgarvey opened this issue May 13, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@tgarvey
Copy link

tgarvey commented May 13, 2023

Is your feature request related to a problem? Please describe.
The command nest add nestjs-pino fails adding nestjs-pino to a nestjs project.

Describe the solution you'd like
Be able to add the nestjs-pino library using the nest cli to a newly created nestjs project.

Steps:

nest new test-project -p npm
cd test-project
nest add nestjs-pino

Results:

❯ nest new test-project -p npm
⚡  We will scaffold your app in a few seconds..

CREATE test-project/.eslintrc.js (663 bytes)
CREATE test-project/.prettierrc (51 bytes)
CREATE test-project/README.md (3340 bytes)
CREATE test-project/nest-cli.json (171 bytes)
CREATE test-project/package.json (1943 bytes)
CREATE test-project/tsconfig.build.json (97 bytes)
CREATE test-project/tsconfig.json (546 bytes)
CREATE test-project/src/app.controller.spec.ts (617 bytes)
CREATE test-project/src/app.controller.ts (274 bytes)
CREATE test-project/src/app.module.ts (249 bytes)
CREATE test-project/src/app.service.ts (142 bytes)
CREATE test-project/src/main.ts (208 bytes)
CREATE test-project/test/app.e2e-spec.ts (630 bytes)
CREATE test-project/test/jest-e2e.json (183 bytes)

✔ Installation in progress... ☕

🚀  Successfully created project test-project

❯ cd test-project

❯ nest add nestjs-pino     
✔ Package installation in progress... ☕
Starting library setup...
Error: Package "nestjs-pino" was found but does not support schematics.

Failed to execute command: node nestjs-pino:nest-add --source-root="src" /usr/local/Cellar/node/19.8.1/bin/node /usr/local/bin/nest add nestjs-pino
@tgarvey tgarvey added the enhancement New feature or request label May 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants