-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Description
Angular/cli 4 - 1.4.9
Output from: ng --version.
@angular/cli: 1.4.9
node: 8.9.4
os: win32 x64
Windows 10 - ver 1709(16299)
Repro steps
- Step 1
$ npm install -g @angular/cli@1.4.9
C:\Users\Owner\AppData\Roaming\npm\ng -> C:\Users\Owner\AppData\Roaming\npm\node_modules@angular\cli\bin\ng
uglifyjs-webpack-plugin@0.4.6 postinstall C:\Users\Owner\AppData\Roaming\npm\node_modules@angular\cli\node_modules\uglifyjs-webpack-plugin
node lib/post_install.js
npm WARN @angular-devkit/schematics@0.0.51 requires a peer of @angular-devkit/core@0.0.28 but none is installed. You must install peer dependencies yourself.
npm WARN @schematics/angular@0.0.49 requires a peer of @angular-devkit/schematics@0.0.34 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules@angular\cli\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
- @angular/cli@1.4.9
added 59 packages, removed 351 packages, updated 29 packages and moved 10 packages in 80.908s
- Step 2
$ ng new ang4test
Cannot read property 'NullLogger' of undefined
TypeError: Cannot read property 'NullLogger' of undefined
at SchematicEngine.createContext (C:\Users\Owner\AppData\Roaming\npm\node_modules@angular\cli\node_modules@angular-devkit\schematics\src\engine\engine.js:64:39)
at SchematicImpl.call (C:\Users\Owner\AppData\Roaming\npm\node_modules@angular\cli\node_modules@angular-devkit\schematics\src\engine\schematic.js:35:38)
at Promise (C:\Users\Owner\AppData\Roaming\npm\node_modules@angular\cli\tasks\schematic-run.js:72:23)
at new Promise ()
at Class.run (C:\Users\Owner\AppData\Roaming\npm\node_modules@angular\cli\tasks\schematic-run.js:71:16)
at Class.run (C:\Users\Owner\AppData\Roaming\npm\node_modules@angular\cli\tasks\init.js:71:33)
at Class.run (C:\Users\Owner\AppData\Roaming\npm\node_modules@angular\cli\commands\new.js:133:25)
at resolve (C:\Users\Owner\AppData\Roaming\npm\node_modules@angular\cli\ember-cli\lib\models\command.js:261:20)
at new Promise ()
at Class.validateAndRun (C:\Users\Owner\AppData\Roaming\npm\node_modules@angular\cli\ember-cli\lib\models\command.js:240:12)
- Step 3
Observed behavior
All outputs shown above
Desired behavior
I expected new project to be made.
Mention any other details that might be useful (optional)
I've tried to install before many times. Installed and uninstalled, cleaned cache, but failed.