Major HELP needed. Unable to start a new project

I am currently unable to start a new project , am getting the following error

C:\newApps>ionic start test blank
******************************************************
 Dependency warning - for the CLI to run correctly,
 it is highly recommended to install/upgrade the following:

 Please install your Cordova CLI to version  >=4.2.0 `npm install -g cordova`

******************************************************
Creating an Ionic 2.x app in C:\newApps\test based on the blank template.

Downloading: https://github.com/driftyco/ionic2-app-base/archive/master.zip
Downloading: https://github.com/driftyco/ionic2-starter-blank/archive/master.zip

Installing npm packages (may take a minute or two)...
Error with start undefined
Error Initializing app: There was an error with the spawned command: npminstall
There was an error with the spawned command: npminstall

Somebody please help me.

Have you tried what is suggested in the error message?

npm install -g cordova

What is your ionic info output?

Your system information:

You have been opted out of telemetry. To change this, run: cordova telemetry on
.
7.0.1

Ionic CLI Version: 2.2.3
Ionic App Lib Version: 2.2.1
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 8
Node Version: v6.11.2
Xcode version: Not installed

tried reinstalling cordova

Now am getting this error

C:\newApps>ionic start testApp blank
******************************************************
 Dependency warning - for the CLI to run correctly,
 it is highly recommended to install/upgrade the following:

 Please install your Cordova CLI to version  >=4.2.0 `npm install -g cordova`

******************************************************
Creating an Ionic 2.x app in C:\newApps\testApp based on the blank template.

Downloading: https://github.com/driftyco/ionic2-app-base/archive/master.zip
Error with start Error: UNKNOWN: unknown error, mkdir 'C:\newApps\testApp\ionic2
-app-base-master\resources\android\icon'
    at Error (native)
    at Object.fs.mkdirSync (fs.js:923:18)
    at C:\Users\Emil Jenson\AppData\Roaming\npm\node_modules\ionic\node_modules\
adm-zip\util\utils.js:24:20
    at Array.forEach (native)
    at mkdirSync (C:\Users\Emil Jenson\AppData\Roaming\npm\node_modules\ionic\no
de_modules\adm-zip\util\utils.js:17:36)
    at Object.makeDir (C:\Users\Emil Jenson\AppData\Roaming\npm\node_modules\ion
ic\node_modules\adm-zip\util\utils.js:53:13)
    at C:\Users\Emil Jenson\AppData\Roaming\npm\node_modules\ionic\node_modules\
adm-zip\adm-zip.js:374:27
    at Array.forEach (native)
    at Object.extractAllTo (C:\Users\Emil Jenson\AppData\Roaming\npm\node_module
s\ionic\node_modules\adm-zip\adm-zip.js:372:26)
    at Request._callback (C:\Users\Emil Jenson\AppData\Roaming\npm\node_modules\
ionic\node_modules\ionic-app-lib\lib\utils.js:133:11)
Error Initializing app: Error: UNKNOWN: unknown error, mkdir 'C:\newApps\testApp
\ionic2-app-base-master\resources\android\icon'
 Error: UNKNOWN: unknown error, mkdir 'C:\newApps\testApp\ionic2-app-base-master
\resources\android\icon'
    at Error (native)
    at Object.fs.mkdirSync (fs.js:923:18)
    at C:\Users\Emil Jenson\AppData\Roaming\npm\node_modules\ionic\node_modules\
adm-zip\util\utils.js:24:20
    at Array.forEach (native)
    at mkdirSync (C:\Users\Emil Jenson\AppData\Roaming\npm\node_modules\ionic\no
de_modules\adm-zip\util\utils.js:17:36)
    at Object.makeDir (C:\Users\Emil Jenson\AppData\Roaming\npm\node_modules\ion
ic\node_modules\adm-zip\util\utils.js:53:13)
    at C:\Users\Emil Jenson\AppData\Roaming\npm\node_modules\ionic\node_modules\
adm-zip\adm-zip.js:374:27
    at Array.forEach (native)
    at Object.extractAllTo (C:\Users\Emil Jenson\AppData\Roaming\npm\node_module
s\ionic\node_modules\adm-zip\adm-zip.js:372:26)
    at Request._callback (C:\Users\Emil Jenson\AppData\Roaming\npm\node_modules\
ionic\node_modules\ionic-app-lib\lib\utils.js:133:11)

This is super old. Current version is 3.9.x - you should upgrade.

when i run the command npm update -g ionic and npm update -g cordova its not gettinh updated still shows the old version

Cordova is latest, only your Ionic CLI is old. Run npm install -g ionic@latest to make sure.

Yesterday after following many peoples advice somehow it worked . But now when i try to start a new project another error pops up

x Running command - failed!
Exception: npm WARN deprecated babili@0.1.2: babili has been renamed to babel-mi
nify. Please update to babel-minify
npm WARN deprecated babel-preset-babili@0.1.4: babili has been renamed to babel-
minify. Please update to babel-preset-minify
npm WARN deprecated object-keys@0.2.0: Please update to the latest object-keys
npm WARN ajv-keywords@2.1.0 requires a peer of ajv@>=5.0.0 but none was installe
d.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.2 (node_modules\fse
vents):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: UNKNOWN: unknown error, open 'C:
\newApps\testagain\node_modules\.staging\fsevents-0c91ad88\node_modules\are-we-t
here-yet\package.json'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ajv@4.11.8 (node_modules\ajv):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: UNKNOWN: unknown error, mkdir 'C
:\newApps\testagain\node_modules\.staging\ajv-94ae4538\dist'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: babel-runtime@6.26.0 (node_modul
es\babel-runtime):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: UNKNOWN: unknown error, open 'C:
\newApps\testagain\node_modules\.staging\babel-runtime-480dcab5\core-js\object\i
s.js'

npm ERR! path C:\newApps\testagain\node_modules\.staging\tslint-fa903247\lib\rul
es\awaitPromiseRule.d.ts
npm ERR! code UNKNOWN
npm ERR! errno -4094
npm ERR! syscall open
npm ERR! UNKNOWN: unknown error, open 'C:\newApps\testagain\node_modules\.stagin
g\tslint-fa903247\lib\rules\awaitPromiseRule.d.ts'

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Emil Jenson\AppData\Roaming\npm-cache\_logs\2017-08-29T16_
34_55_862Z-debug.log


Your problem is probably with npm, something to do with permissions and files. This happens quite often and is almost impossible to successfully debug (at least here in the forum).

One solution: Uninstall your node, install nvm (or nvm-windows when you are using Windows), install a new node with this, then install ionic and cordova again and try your command again. The problem should be gone.