You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm super disappointed in this Node.JS / Angular / Git thing. I have been trying for 8 hours to install it on my machine and it just doesn't work. I feel like this is a huge step backward in programming to the 70s where I need to almost speak machine code to simply install a program. These programs are like a throwback to before wizards were a thing. I'm amazed that after 8 hours and with a year's experience with other frameworks and over 10 programming languages under my belt, it's still to complex to even install. Going back to ASP.Net. At least it makes sense.
Ok, so I downloaded and installed Node.js. I also downloaded and installed Git. They are both on the desktop. In the tutorial it says "type npm install" and doesn't tell me where.
So I try in Git by right clicking the desktop and clicking "Git Bash Here".:
it opens and shows the following:
"Bookkeeper@Bookkeeper-PC MINGW64 ~/Desktop
$"
I type "npm install" and get this error:
"$ npm install
npm ERR! install Couldn't read dependencies
npm ERR! Windows_NT 10.0.10240
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install"
npm ERR! node v4.2.1
npm ERR! npm v2.14.7
npm ERR! path C:\Users\Bookkeeper\Desktop\package.json
npm ERR! code ENOPACKAGEJSON
npm ERR! errno -4058
npm ERR! syscall open
npm ERR! package.json ENOENT: no such file or directory, open 'C:\Users\Bookkeeper\Desktop\package.json'
npm ERR! package.json This is most likely not a problem with npm itself.
npm ERR! package.json npm can't find a package.json file in your current directory.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\Bookkeeper\Desktop\npm-debug.log
"
As I was typing this in I got this error. This is actually new. It used to say something else.
lets try in node.exe:
"npm should be run outside of the node repl, in your normal shell" So I put my ninja turtles costume on, and I get the same error. My normal shell isn't helping.
Now the windows command prompt:
Literally the same error as when I do it in Git bash.
Also, that's for the tutorial instructions, we're not even there yet. We're at setting up your workspace. So technically it's not specified where to insert the command.
Ah ok. I think it's a windows 10 thing. Did exactly what I did over and over on the windows 10 machine on my windows 7 machine and it worked. Thanks for the help guys. I know I was pretty bitchy. I was just losing my shit after trying to install a program and surf forums for 8 hours. You all probably know how something like that can feel :P
Sorry to chime in, I just came from the related Angular issue, but I have to say this.
We, as JavaScript developers do not notice when documentation doesn't work because we fail to realize that people will start with basic things. We create software assuming that the developer knows how to install and run the dependencies, but even though it seems simple, it is inside a domain that might be unknown, even for a experienced programmer.
I think it's a windows 10 thing.
I would suggest, @chimerablack, that you help in documenting this problem, either in AngularJS tutorial or in node (I don't know for which tool this documentation problem applies, or both). If you got in trouble with this, other people will, the best thing you can do is help contributing to make things better because you are the only person right now in the position to know what helps and what does not, everyone else is biased towards their experience.
If you contribute, I would also suggest to link to all these discussions as an evidence of a problem in the docs. Even if the change is not accepted, it would be a very good attitude towards trying to make things clearer for other devs.
Sure, I'd love to contribute. I'll try it on my Win10 pc again once I've got a better grasp of how it all works together. Right now all I really know is that you can install node, you can install Git, but for some reason it doesn't recognize the module's file in Windows 10. It just keeps saying it can't find it even though it's right there. I still need to learn how this all works together a little better before I can really troubleshoot it for others. I didn't really resolve it yet, I just moved to another machine.
Activity
evanlucas commentedon Oct 29, 2015
If we could get a little more information about the issues you are currently experiencing, it would allow us to help a lot more :]
Trott commentedon Oct 29, 2015
Closing for now, there's nothing actionable here. Feel free to reopen if more information materializes.
chimerablack commentedon Oct 29, 2015
I thought this was clear. I want to install the program so it works. I don't know what else you want.
chimerablack commentedon Oct 29, 2015
Not sure why there are no DL and Install instructions seemingly anywhere.
chimerablack commentedon Oct 29, 2015
I don't know how to re-open this question....sigh...everything about this is annoying. Maybe don't close my issue in the first 30 seconds?
evanlucas commentedon Oct 29, 2015
Have you tried https://nodejs.org/en/download/?
chimerablack commentedon Oct 29, 2015
I click the closed button and it's not a button. Software design 101 -- Users hate not getting what they expect from a page
Trott commentedon Oct 29, 2015
Things that would be helpful for starters:
MylesBorins commentedon Oct 29, 2015
Chimera there is an installation link on the front page of nodejs.org
Can you outline the steps you have followed to try and get started
On Oct 29, 2015 1:47 PM, "chimerablack" notifications@github.com wrote:
bnoordhuis commentedon Oct 29, 2015
I'll just leave this here: How to Report Bugs Effectively, category "It doesn't work."
chimerablack commentedon Oct 29, 2015
Ok, so I downloaded and installed Node.js. I also downloaded and installed Git. They are both on the desktop. In the tutorial it says "type npm install" and doesn't tell me where.
So I try in Git by right clicking the desktop and clicking "Git Bash Here".:
it opens and shows the following:
"Bookkeeper@Bookkeeper-PC MINGW64 ~/Desktop
$"
I type "npm install" and get this error:
"$ npm install
npm ERR! install Couldn't read dependencies
npm ERR! Windows_NT 10.0.10240
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install"
npm ERR! node v4.2.1
npm ERR! npm v2.14.7
npm ERR! path C:\Users\Bookkeeper\Desktop\package.json
npm ERR! code ENOPACKAGEJSON
npm ERR! errno -4058
npm ERR! syscall open
npm ERR! package.json ENOENT: no such file or directory, open 'C:\Users\Bookkeeper\Desktop\package.json'
npm ERR! package.json This is most likely not a problem with npm itself.
npm ERR! package.json npm can't find a package.json file in your current directory.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\Bookkeeper\Desktop\npm-debug.log
"
As I was typing this in I got this error. This is actually new. It used to say something else.
lets try in node.exe:
"npm should be run outside of the node repl, in your normal shell" So I put my ninja turtles costume on, and I get the same error. My normal shell isn't helping.
Now the windows command prompt:
Literally the same error as when I do it in Git bash.
Trott commentedon Oct 29, 2015
Please link to the tutorial you are using.
2 remaining items
evanlucas commentedon Oct 29, 2015
You would need to run
npm installin a directory that has a package.json. A package.json will list all dependencies that need to be installedmscdex commentedon Oct 29, 2015
You execute
npm installinside the angular-phonecat directory that you get after yougit clone.The tutorial even says:
chimerablack commentedon Oct 29, 2015
Exactly, however I've been doing exactly that.
Also, that's for the tutorial instructions, we're not even there yet. We're at setting up your workspace. So technically it's not specified where to insert the command.
evanlucas commentedon Oct 29, 2015
The npm error you pasted shows you ran it from your Desktop directory
chimerablack commentedon Oct 29, 2015
That's where it is, it's on the desktop. I go into the folder, right click, "Git Bash here" and enter the command.
chimerablack commentedon Oct 29, 2015
I'm trying from a new computer that's not on windows 10. Maybe win10 is the problem.
evanlucas commentedon Oct 29, 2015
You will have to navigate to the angular-phonecat directory and then run
npm installfrom inside itchimerablack commentedon Oct 29, 2015
should I run it using Git Bash?
evanlucas commentedon Oct 29, 2015
either that or cmd.exe.
MylesBorins commentedon Oct 29, 2015
you should be running git bash. You will likely need to “cd” (change directory) into the angular project directory though
try typing the command “pwd” (present working directory) to see where your terminal is currently at
chimerablack commentedon Oct 29, 2015
Ah ok. I think it's a windows 10 thing. Did exactly what I did over and over on the windows 10 machine on my windows 7 machine and it worked. Thanks for the help guys. I know I was pretty bitchy. I was just losing my shit after trying to install a program and surf forums for 8 hours. You all probably know how something like that can feel :P
FagnerMartinsBrack commentedon Oct 29, 2015
Sorry to chime in, I just came from the related Angular issue, but I have to say this.
We, as JavaScript developers do not notice when documentation doesn't work because we fail to realize that people will start with basic things. We create software assuming that the developer knows how to install and run the dependencies, but even though it seems simple, it is inside a domain that might be unknown, even for a experienced programmer.
I would suggest, @chimerablack, that you help in documenting this problem, either in AngularJS tutorial or in node (I don't know for which tool this documentation problem applies, or both). If you got in trouble with this, other people will, the best thing you can do is help contributing to make things better because you are the only person right now in the position to know what helps and what does not, everyone else is biased towards their experience.
If you contribute, I would also suggest to link to all these discussions as an evidence of a problem in the docs. Even if the change is not accepted, it would be a very good attitude towards trying to make things clearer for other devs.
chimerablack commentedon Oct 29, 2015
Sure, I'd love to contribute. I'll try it on my Win10 pc again once I've got a better grasp of how it all works together. Right now all I really know is that you can install node, you can install Git, but for some reason it doesn't recognize the module's file in Windows 10. It just keeps saying it can't find it even though it's right there. I still need to learn how this all works together a little better before I can really troubleshoot it for others. I didn't really resolve it yet, I just moved to another machine.
evanlucas commentedon Oct 29, 2015
I am going to go ahead and close this as it does not seem like an issue with core. If it is, please feel free to re-open.