Comments (12)
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.
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.
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.
@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.
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.
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.
@neophoenix123 did you try with sudo tar
instead?
from help.
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.
thank you @rvagg
from help.
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.
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.
Thanks @Valentin-Seehausen
from help.
Related Issues (20)
- Need help deploying (no package.json apparently, even though i do) HOT 1
- Error while open exe file HOT 19
- Issue downloading yaml file HOT 2
- How to verify the signed message against the signature with raw ec public key only HOT 1
- stream.pipeline adds many close listeners, which can easily lead to MaxListenersExceededWarning HOT 2
- Failed to cross-complie fully-static nodejs with arm-linux-gnueabihf complier HOT 4
- High load on node library when CPU profiling HOT 4
- http2.request is downloading data with a very slow speed, if the network latency is significant HOT 2
- ip package not updated in expected nodejs/npm versions HOT 1
- npm run dev command is not working HOT 3
- Unable to install node image due to gpg check failed HOT 3
- Embedding integration questions (thread, stdout, cwd) HOT 3
- Cannot test locally committed code to Node.js in my PC. HOT 8
- "-sh: ./node: not found" on ARM platform HOT 1
- How to Enable Fast API Calls in Embedded Development HOT 1
- TENTANDO INSTALAR O YARN HOT 1
- Using official guide - Failed to install using 'fnm' CLI command on Win11 using PowerShell 7.4.4 HOT 3
- Asserting a range with descriptive error messages HOT 1
- [node:test] help using node api for node:test's run method with coverage report HOT 1
- Node-red is using the wrong version of nodejs and failing to start HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from help.