Skip to content

No changes were made during component generation #12308

Closed
@micobarac

Description

@micobarac

Bug Report or Feature Request (mark with an x)

- [ x ] bug report -> please search issues before submitting
- [ ] feature request

Command (mark with an x)

- [ ] new
- [ ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ x ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Versions

Angular CLI: 7.0.0-beta.3
Node: 10.10.0
OS: darwin x64
Angular: 7.0.0-beta.5
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

@angular-devkit/architect         0.9.0-beta.3
@angular-devkit/build-angular     0.9.0-beta.3
@angular-devkit/build-optimizer   0.9.0-beta.3
@angular-devkit/build-webpack     0.9.0-beta.3
@angular-devkit/core              0.9.0-beta.3
@angular-devkit/schematics        0.9.0-beta.3
@angular/cli                      7.0.0-beta.3
@ngtools/webpack                  7.0.0-beta.3
@schematics/angular               0.9.0-beta.3
@schematics/update                0.9.0-beta.3
rxjs                              6.3.2
typescript                        3.0.3
webpack                           4.17.2

Repro steps

ng g c calendar -m=Calendar

outputs

CREATE src/app/calendar/calendar.component.scss (0 bytes)
CREATE src/app/calendar/calendar.component.html (27 bytes)
CREATE src/app/calendar/calendar.component.spec.ts (642 bytes)
CREATE src/app/calendar/calendar.component.ts (278 bytes)
UPDATE src/app/calendar/calendar.module.ts (362 bytes)

The problem is that no actual files were made. It looks like the dry-run option is active out of the box. I cannot find an option how to switch it off.

The log given by the failure

NOTE: The "dryRun" flag means no changes were made.

Desired functionality

FIles should be generated along with the generator terminal output, and dry-run option disabled by default.

Mention any other details that might be useful

No aditional info

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions