Need help! Cant Install Ionic from Cmd?


#1

Ionic installation fails after i downloaded and installed Git,Node Js and have verified it…
I cant get to install Ionic from the command prompt
using npm install -g ionic on windows cmd

This is my error log below

----------------------------------Error log-------------------------------------
0 info it worked if it ends with ok
1 verbose cli [ ‘C:\Program Files (x86)\nodejs\\node.exe’,
1 verbose cli ‘C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js’,
1 verbose cli ‘install’ ]
2 info using npm@2.10.1
3 info using node@v0.12.4
4 verbose readDependencies loading dependencies from D:\projects\magazine\wp-content\themes\cayman\assets\css\package.json
5 error install Couldn’t read dependencies
6 verbose stack Error: ENOENT, open 'D:\projects\magazine\wp-content\themes\cayman\assets\css\package.json’
6 verbose stack at Error (native)
7 verbose cwd D:\projects\magazine\wp-content\themes\cayman\assets\css
8 error Windows_NT 6.3.9600
9 error argv “C:\Program Files (x86)\nodejs\\node.exe” “C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js” "install"
10 error node v0.12.4
11 error npm v2.10.1
12 error path D:\projects\magazine\wp-content\themes\cayman\assets\css\package.json
13 error code ENOPACKAGEJSON
14 error errno -4058
15 error package.json ENOENT, open 'D:\projects\magazine\wp-content\themes\cayman\assets\css\package.json’
15 error package.json This is most likely not a problem with npm itself.
15 error package.json npm can’t find a package.json file in your current directory.
16 verbose exit [ -4058, true ]

Would really appreciate your help am new to app development…

Thanks for your time


#2

Try to update node and npm, npm is now at 3.10.3 i think


#3

Sorry to ask but please whats the command line to achieve the updates of Node and npm
on windows