Angular 2 isses when creating ng new project

If you get flowing error when you going to create new project using cli
/usr/local/lib/node_modules/@angular/cli/models/config/config.js:15
constructor(_configPath, schema, configJson, fallbacks = []) {

first update Node js
Clear NPM’s cache:
sudo npm cache clean -f

Install a little helper called ‘n’
sudo npm install -g n

Install latest stable Node.js version
sudo n stable

Now you can check
ng

hope this work.