-
Notifications
You must be signed in to change notification settings - Fork 12k
ng generate directive error #9351
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
Comments
Same for me, had this error with version 1.5.3, then upgraded to 1.6.5, but the error is still the same |
|
Error: dryRunSink.commit(...).ignoreElements is not a function updated my cli just a few hours ago |
ng generate component the same. |
ng generate module has the same error |
Does any one have solution for this, i too have same problem ? Angular CLI: 1.6.5 @angular/cli: 1.6.5 ng generate component routes/contacts Error: dryRunSink.commit(...).ignoreElements is not a function |
I had this error with version 1.6.0 and now with 1.6.5 still the same. |
This issue has been resolved, please see this comment: #9194 (comment) I am closing and locking this issue to consolidate the conversation in the other issue. |
Versions
Angular CLI: 1.6.5
Node: 6.11.2
OS: win32 ia32
Angular: 5.1.1
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
@angular/cli: 1.6.5
@angular-devkit/build-otimizer: 0.0.41
@angular-devkit/core- 0.0.28
@angular-devkit/schematics: 0.0.51
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.9.5
@schematics/angular: 0.1.16
typescript: 2.4.2
webpack: 3.10.0
After updating to angular cli version to 1.6.5, we are getting below error while using below command.
Repro steps
ng g directive stylevalidator
Error:
Error: dryRunSink.commit(...).ignoreElements is not a function.
dryRunkSink.commit(...).ignoreElements is not a function.
Desired behavior
Should generate new directive named "stylevalidator"
The text was updated successfully, but these errors were encountered: