I am getting error when i create a Angular 4 app in CLI mode.
anjan@anjan-HP-Laptop-15-bs0xx:~/Desktop/angular$ ng new a4app
npm ERR! write after end  
npm ERR! A complete log of this run can be found in:
npm ERR!     /home/anjan/.npm/_logs/2018-04-13T04_48_09_522Z-debug.log
Please give me a proper suggestion so that i can solve this problem.
     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/
Angular CLI: 6.0.0-rc.4
Node: 8.11.1
OS: linux x64
Angular: 
... 
Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.5.6
@angular-devkit/core         0.5.6
@angular-devkit/schematics   0.5.6
@ngtools/json-schema         1.1.0
@schematics/angular          0.5.6
@schematics/update           0.5.6
rxjs                         6.0.0-turbo-rc.4
typescript                   2.7.2
                npm install -g [email protected]
After running this command my problem is solved.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With