Ah yes that is correct, clumsy me. I must have gotten distracted between steps, I see now from the previous section "The tutorial instructions, from now on, assume you are running all commands from the angular-phonecat directory.".
Thanks! On Thursday, 28 May 2015 05:03:42 UTC-7, Daniel Quinn wrote: > > Its hard to tell with the limited context, but it looks like you're > running npm install in the wrong directory(D:\Code\nodejs). You should be > running npm install where you cloned the angular-phonecat repo. > > On Wednesday, May 27, 2015 at 4:26:46 PM UTC-4, Randy Volkart wrote: >> >> Hello, >> >> I'm teaching myself to use Angular and have started with the PhoneCat >> Tutorial app >> <https://docs.angularjs.org/?_escaped_fragment_=/tutorial#!/tutorial>. >> 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 [email protected] >> 3 info using [email protected] >> 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 >> > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
