Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't even install.... #3592

Closed
chimerablack opened this issue Oct 29, 2015 · 28 comments
Closed

Can't even install.... #3592

chimerablack opened this issue Oct 29, 2015 · 28 comments
Labels
install Issues and PRs related to the installers.

Comments

@chimerablack
Copy link

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.

@evanlucas
Copy link
Contributor

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 Trott closed this as completed Oct 29, 2015
@Trott
Copy link
Member

Trott commented Oct 29, 2015

Closing for now, there's nothing actionable here. Feel free to reopen if more information materializes.

@chimerablack
Copy link
Author

I thought this was clear. I want to install the program so it works. I don't know what else you want.

@chimerablack
Copy link
Author

Not sure why there are no DL and Install instructions seemingly anywhere.

@chimerablack
Copy link
Author

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
Copy link
Contributor

Have you tried https://nodejs.org/en/download/?

@chimerablack
Copy link
Author

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
Copy link
Member

Trott commented Oct 29, 2015

Things that would be helpful for starters:

  • How are you trying to install?
  • Are you installing on Windows? OS X? Linux? Something else?
  • What version are you trying to install?
  • What error message or other indication of failure are you receiving?

@Trott Trott reopened this Oct 29, 2015
@MylesBorins
Copy link
Contributor

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:

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?


Reply to this email directly or view it on GitHub
#3592 (comment).

@mscdex mscdex added the install Issues and PRs related to the installers. label Oct 29, 2015
@bnoordhuis
Copy link
Member

I'll just leave this here: How to Report Bugs Effectively, category "It doesn't work."

@chimerablack
Copy link
Author

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
Copy link
Member

Trott commented Oct 29, 2015

Please link to the tutorial you are using.

@chimerablack
Copy link
Author

@MylesBorins
Copy link
Contributor

It seems to me like you are missing the step where you clone the Angular
tutorial repo and run npm install inside of it.
On Oct 29, 2015 1:56 PM, "Rich Trott" notifications@github.com wrote:

Please link to the tutorial you are using.


Reply to this email directly or view it on GitHub
#3592 (comment).

@evanlucas
Copy link
Contributor

You would need to run npm install in a directory that has a package.json. A package.json will list all dependencies that need to be installed

@mscdex
Copy link
Contributor

mscdex commented Oct 29, 2015

You execute npm install inside the angular-phonecat directory that you get after you git clone.

The tutorial even says:

The tutorial instructions, from now on, assume you are running all commands from the angular-phonecat directory.

@chimerablack
Copy link
Author

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
Copy link
Contributor

The npm error you pasted shows you ran it from your Desktop directory

@chimerablack
Copy link
Author

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
Copy link
Author

I'm trying from a new computer that's not on windows 10. Maybe win10 is the problem.

@evanlucas
Copy link
Contributor

You will have to navigate to the angular-phonecat directory and then run npm install from inside it

@chimerablack
Copy link
Author

should I run it using Git Bash?

@evanlucas
Copy link
Contributor

either that or cmd.exe.

@MylesBorins
Copy link
Contributor

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

On Oct 29, 2015, at 2:47 PM, chimerablack notifications@github.com wrote:

should I run it using Git Bash?


Reply to this email directly or view it on GitHub #3592 (comment).

@chimerablack
Copy link
Author

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
Copy link

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.

@chimerablack
Copy link
Author

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
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
install Issues and PRs related to the installers.
Projects
None yet
Development

No branches or pull requests

7 participants