I am using ubuntu 16 OS and my node and npm versions are as below
node v7.4.0
npm 4.0.5
if i give ng new my-project i am getting below error
It seems like you're using a project generated using an old version of the Angular CLI. The latest CLI now uses webpack and has a lot of improvements including a simpler workflow, a faster build, and smaller bundles.
To get more info, including a step-by-step guide to upgrade the CLI, follow this link: https://github.com/angular/angular-cli/wiki/Upgrading-from-Beta.10-to-Beta.14
Please help me on this
ng new my-projecthas other files e.g. package.json etc. Execute it in a folder that does not have any other files (no problems if there are folders, but not with the same name as your new project).angular-cliinstalled? If yes, did you uninstall it before installing latest version?angular-cli... clean npm cache... delete folder/usr/local/lib/node_modules/angular-cli(or folder angular-cli from your global npm_modules folder). Reinstall angular-cli and try creating new project.