Hello,
I'm teaching myself to use Angular and have started with the
PhoneCat Tutorial app. Going through the installation first, I have git, I downloaded the angular-phonecat repository, downloaded and installed Node.js (windows 32bit .msi installer), and the next step is where I'm stuck.
Node --version tells me v0.12.4, and npm --version 2.10.1, but the next step is to type npm install which should download the Bower, Http-Server, Karma, and Protractor tools. This generates errors and nothing seems to install. This is the npm-debug.log:
0 info it worked if it ends with ok
1 verbose cli [ 'D:\\Code\\nodejs\\\\node.exe',
1 verbose cli 'D:\\Code\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'install' ]
2 info using n...@2.10.1
3 info using no...@v0.12.4
4 verbose readDependencies loading dependencies from D:\Code\nodejs\package.json
5 error install Couldn't read dependencies
6 verbose stack Error: ENOENT, open 'D:\Code\nodejs\package.json'
6 verbose stack at Error (native)
7 verbose cwd D:\Code\nodejs
8 error Windows_NT 6.1.7601
9 error argv "D:\\Code\\nodejs\\\\node.exe" "D:\\Code\\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:\Code\nodejs\package.json
13 error code ENOPACKAGEJSON
14 error errno -4058
15 error package.json ENOENT, open 'D:\Code\nodejs\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 ]
Anyone that can help me with this?
Thanks
Randy