Skip to content

Can't even install.... #3592

Closed
Closed

Description

@chimerablack

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.

Activity

  1. evanlucas commented on Oct 29, 2015

    @evanlucas
    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 :]

  2. Trott commented on Oct 29, 2015

    @Trott
    Member

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

  3. chimerablack commented on Oct 29, 2015

    @chimerablack
    Author

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

  4. chimerablack commented on Oct 29, 2015

    @chimerablack
    Author

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

  5. chimerablack commented on Oct 29, 2015

    @chimerablack
    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?

  6. evanlucas commented on Oct 29, 2015

    @evanlucas
    Contributor
  7. chimerablack commented on Oct 29, 2015

    @chimerablack
    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

  8. Trott commented on Oct 29, 2015

    @Trott
    Member

    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?
  9. reopened this on Oct 29, 2015
  10. MylesBorins commented on Oct 29, 2015

    @MylesBorins
    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).

  11. added
    installIssues and PRs related to installing Node.js and its installers.
    on Oct 29, 2015
  12. bnoordhuis commented on Oct 29, 2015

    @bnoordhuis
    Member

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

  13. chimerablack commented on Oct 29, 2015

    @chimerablack
    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.

  14. Trott commented on Oct 29, 2015

    @Trott
    Member

    Please link to the tutorial you are using.

  15. 2 remaining items

  16. evanlucas commented on Oct 29, 2015

    @evanlucas
    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

  17. mscdex commented on Oct 29, 2015

    @mscdex
    Contributor

    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.
  18. chimerablack commented on Oct 29, 2015

    @chimerablack
    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.

  19. evanlucas commented on Oct 29, 2015

    @evanlucas
    Contributor

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

  20. chimerablack commented on Oct 29, 2015

    @chimerablack
    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.

  21. chimerablack commented on Oct 29, 2015

    @chimerablack
    Author

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

  22. evanlucas commented on Oct 29, 2015

    @evanlucas
    Contributor

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

  23. chimerablack commented on Oct 29, 2015

    @chimerablack
    Author

    should I run it using Git Bash?

  24. evanlucas commented on Oct 29, 2015

    @evanlucas
    Contributor

    either that or cmd.exe.

  25. MylesBorins commented on Oct 29, 2015

    @MylesBorins
    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).

  26. chimerablack commented on Oct 29, 2015

    @chimerablack
    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

  27. FagnerMartinsBrack commented on Oct 29, 2015

    @FagnerMartinsBrack

    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.

  28. chimerablack commented on Oct 29, 2015

    @chimerablack
    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.

  29. evanlucas commented on Oct 29, 2015

    @evanlucas
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    installIssues and PRs related to installing Node.js and its installers.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions