Cannot read property NullLogger or dasherize of undefined
Versions
<!--
Output from: `ng --version`.
@angular/animations: 5.2.5
@angular/cli: 1.6.1
@angular/compiler-cli: 5.2.5
@angular-devkit/build-optimizer: 0.0.42
@angular-devkit/core: 0.0.20
@angular-devkit/schematics: 0.0.34
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.9.1
@schematics/angular: 0.1.17
typescript: 2.7.1
webpack-concat-plugin: 2.4.2
webpack-dev-server: 2.7.1
webpack: 3.10.0
node: 8.6.0
npm: 5.3.0
Windows10
Repro steps
using ng g c
Observed behavior
at SchematicEngine.createContext (C:\Code\Repos\Physician Links\Web\PhysicianLinks.Application\node_modules\@angular\cli\node_modules\@angular-devkit\schematics\src\engine\engine.js:75:38)
at SchematicImpl.call (C:\Code\Repos\Physician Links\Web\PhysicianLinks.Application\node_modules\@angular\cli\node_modules\@angular-devkit\schematics\src\engine\schematic.js:35:38)
at Promise (C:\Code\Repos\Physician Links\Web\PhysicianLinks.Application\node_modules\@angular\cli\tasks\schematic-run.js:73:23)
at Promise (<anonymous>)
at Class.run (C:\Code\Repos\Physician Links\Web\PhysicianLinks.Application\node_modules\@angular\cli\tasks\schematic-run.js:72:16)
at Class.run (C:\Code\Repos\Physician Links\Web\PhysicianLinks.Application\node_modules\@angular\cli\commands\generate.js:161:33)
at resolve (C:\Code\Repos\Physician Links\Web\PhysicianLinks.Application\node_modules\@angular\cli\ember-cli\lib\models\command.js:261:20)
at Promise (<anonymous>)
at Class.validateAndRun (C:\Code\Repos\Physician Links\Web\PhysicianLinks.Application\node_modules\@angular\cli\ember-cli\lib\models\command.js:240:12)
at Promise.resolve.then.then (C:\Code\Repos\Physician Links\Web\PhysicianLinks.Application\node_modules\@angular\cli\ember-cli\lib\cli\cli.js:140:24)
Desired behavior
would like to be able to create component using cli
Mention any other details that might be useful (optional)
thanks @JakobSegerslatt , it work for me!
I got the same error with this version con agular/cli, but I need this version, and I don´t new the latest version of cli. How to fix this, any ideas without upgrading the cli verison?
@angular/cli: 1.4.7 node: 8.11.2 os: win32 x64
Thanks for reporting this issue. This issue is now obsolete due to changes in the recent releases. Please update to the most recent Angular CLI version.
If the problem persists after upgrading, please open a new issue, provide a simple repository reproducing the problem, and describe the difference between the expected and current behavior.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.