I am new in this framework , i have installed node v6.9.1 , npm v3.10.8 and cordova wih 6.4.0 but when i fire command IONIC SERVE , it gives me warning about updating your Cordova. and other errors are also coming i don’t know for what reason. Thank You
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
WARN: No node_modules directory found, do you need to run npm install?
npm ERR! Windows_NT 10.0.14393
npm ERR! argv “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js” “run
” “ionic:serve” "–"
npm ERR! node v6.9.1
npm ERR! npm v3.10.8
npm ERR! missing script: ionic:serve
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues
npm ERR! Please include the following file with any support request:
npm ERR! C:\Windows\System32\npm-debug.log
There was an error serving your Ionic application: There was an error with the spawned command: serve
? May Cordova anonymously report usage statistics to improve the tool over time? (Y/n)
You have been opted out of telemetry. To change this, run: cordova telemetry on.