Closed mavortius closed 5 years ago
Error is trying to create nest-cli.json two times:
CREATE /graphql-demo/.prettierrc (51 bytes) CREATE /graphql-demo/README.md (3370 bytes) CREATE /graphql-demo/nest-cli.json (84 bytes) CREATE /graphql-demo/nodemon-debug.json (163 bytes) CREATE /graphql-demo/nodemon.json (132 bytes) CREATE /graphql-demo/package.json (1684 bytes) CREATE /graphql-demo/tsconfig.build.json (89 bytes) CREATE /graphql-demo/tsconfig.json (300 bytes) CREATE /graphql-demo/tslint.json (426 bytes) CREATE /graphql-demo/src/app.controller.spec.ts (617 bytes) CREATE /graphql-demo/src/app.controller.ts (274 bytes) CREATE /graphql-demo/src/app.module.ts (249 bytes) CREATE /graphql-demo/src/app.service.ts (142 bytes) CREATE /graphql-demo/src/main.ts (208 bytes) CREATE /graphql-demo/test/app.e2e-spec.ts (561 bytes) CREATE /graphql-demo/test/jest-e2e.json (183 bytes) ERROR! /graphql-demo/nest-cli.json already exists. The Schematic workflow failed. See above.
It seems that you're not using the latest version of the package. Please, ensure to install @nestjs/cli@6.0.0
.
Ok. I reinstalled nest-cli on my system and it worked.
I'm submitting a...
Current behavior
Running 'nest new [app-name]' result in 'Failed to execute command: npm install --silent'
Expected behavior
Creation of a new app without errors.
Minimal reproduction of the problem with instructions
Install nest-cli. Run 'nest new [app-name]' command.
What is the motivation / use case for changing the behavior?
Environment