Code Monkey home page Code Monkey logo

Comments (12)

valle-xyz avatar valle-xyz commented on August 13, 2024 2

Oh, then I run into trouble because I had an old version of node installed. This helped me, but updated the existing installation to 5.0.0 (without LTS, but ok, lets go):

sudo npm cache clean -f
sudo npm install -g n
sudo n stable

from help.

bnoordhuis avatar bnoordhuis commented on August 13, 2024

Can you provide more details? What did you download where and where are you trying to install it to? If you ran into problems, please post what you've tried so far and the error messages you got.

from help.

neophoenix123 avatar neophoenix123 commented on August 13, 2024

I am trying to install node for 64bit ubuntu OS. Simply put, I am not very good with file/archive management, understanding directory download/install behaviors and I just cannot seem to progress smoothly in navigating the terminal to launch programs or execute files. Every time I try, I keep getting errors and I am just burned out trying. From what it looks like, node-v5.1.0-linux-x64 is right here in my /Home/Downloads directory. However, nothing seems to be executable within the contents of the folder in the given archive for me to actually get the program to either launch or be recognized.

Also, I am sooooo desperate to get my first ember application started, but I get errors in the terminal such as "no such file" when clearly I am looking right at it. Also I get "WARN" errors stating I need the latest version of the program which I do. I also have downloaded Ember cli along with its respective supporting packages and I just cannot get things to update or download correctly (despite following instructions verbatim). Any assistance greatly appreciated!

One more addition, when I attempt to install ember-cli, it gives me the following:

npm ERR! error rolling back Error: EACCES, unlink '/usr/local/bin/ember'
npm ERR! error rolling back [email protected] { [Error: EACCES, unlink '/usr/local/bin/ember'] errno: 3, code: 'EACCES', path: '/usr/local/bin/ember' }
npm ERR! Error: EACCES, unlink '/usr/local/bin/ember'
npm ERR! { [Error: EACCES, unlink '/usr/local/bin/ember'] errno: 3, code: 'EACCES', path: '/usr/local/bin/ember' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! System Linux 4.2.0-19-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "-g" "install" "ember-cli"
npm ERR! cwd /home/neophoenix
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.4.21
npm ERR! path /usr/local/bin/ember
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! stack Error: EACCES, unlink '/usr/local/bin/ember'
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/neophoenix/npm-debug.log
npm ERR! not ok code 0

Then when I reattempt as sudo, I get ERR! EACCES, unlink 'usr/local/bin/ember' followed by many 'WARN deprecated' no longer maintained results. If I actually have to go to the readme files to install, I might be here until Christmas...I hope it won't come to this because every tutorial I go to the user installs the programs in less than 2 minutes. All I want to do is create my first app in Ember, and I hope it is easier than I am making it out to be. Thanks again!!

from help.

rvagg avatar rvagg commented on August 13, 2024

@neophoenix123 here's a one-liner that may be helpful for getting it installed: curl https://nodejs.org/download/release/v5.1.0/node-v5.1.0-linux-x64.tar.xz | tar Jxv --strip=1 -C /usr/local/

The important bits of this are the use of J for tar to understand xz compression, the --strip=1 which will get rid of the /node-v5.1.0-linux-x64 at the start of all of the paths and -C /usr/local to unpack it all under /usr/local/ including the executable at /usr/local/bin/node and npm resources in /usr/local/lib/node_modules/ and a link to the executable at /usr/local/bin/npm. It's also likely that you'll need root permissions to unpack in /usr/local so you can just change | tar ... to | sudo tar ....

Alternatively, a much easier approach is to use the NodeSource Linux distributions at https://deb.nodesource.com/ to get v5.x and it'll be all be properly installed via the usual apt mechanisms, including updates as they come out.

from help.

neophoenix123 avatar neophoenix123 commented on August 13, 2024

Wow I will be giving this a try right now and I will keep you informed. Thank you for this help I am crossing fingers as we speak!

from help.

neophoenix123 avatar neophoenix123 commented on August 13, 2024

Wow nothing..this is the latest:

tar: Child died with signal 13
tar: Error is not recoverable: exiting now
curl: (23) Failed writing body (450 != 4096)

from help.

rvagg avatar rvagg commented on August 13, 2024

@neophoenix123 did you try with sudo tar instead?

from help.

valle-xyz avatar valle-xyz commented on August 13, 2024

Thanks @rvagg for https://deb.nodesource.com/

# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
sudo apt-get install -y nodejs

from help.

supermonteiro avatar supermonteiro commented on August 13, 2024

thank you @rvagg

from help.

neophoenix123 avatar neophoenix123 commented on August 13, 2024

If you are using it for Ember, I have a step by I can give you in order to
ensure node and other dependencies are installed using NVM. Its the best
method when using Ember!

On Wed, Feb 3, 2016 at 6:46 AM, Thiago Monteiro Barbosa <
[email protected]> wrote:

thank you @rvagg https://github.com/rvagg


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

George Awad, BS.BA http://BS.BA
Epic Proportions Software inc.
[email protected] [email protected]
http://epicproportionstour.com http://epicproportionstour.com

from help.

neophoenix123 avatar neophoenix123 commented on August 13, 2024

Sudo install anything are just not good friends with ember as permissions
are temporary using sudo to install nodejs. You will probably run into
issues accessing files later so I would suggest

-curl -o-
https://raw.githubusercontent.com/creationix/nvm/v0.30.2/install.sh | bash
(this will download node version manager)
-nvm install stable (this will install the latest version of nodejs and
npm respectively)

On Wed, Feb 3, 2016 at 10:13 AM, George Awad [email protected] wrote:

If you are using it for Ember, I have a step by I can give you in order to
ensure node and other dependencies are installed using NVM. Its the best
method when using Ember!

On Wed, Feb 3, 2016 at 6:46 AM, Thiago Monteiro Barbosa <
[email protected]> wrote:

thank you @rvagg https://github.com/rvagg


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

George Awad, BS.BA http://BS.BA
Epic Proportions Software inc.
[email protected] [email protected]
http://epicproportionstour.com http://epicproportionstour.com

George Awad, BS.BA http://BS.BA
Epic Proportions Software inc.
[email protected] [email protected]
http://epicproportionstour.com http://epicproportionstour.com

from help.

wellington1993 avatar wellington1993 commented on August 13, 2024

Thanks @Valentin-Seehausen

from help.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.