Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Fail to install new node version #56

Open
jlvivero opened this issue Oct 23, 2017 · 0 comments
Open

Fail to install new node version #56

jlvivero opened this issue Oct 23, 2017 · 0 comments

Comments

@jlvivero
Copy link

jlvivero commented Oct 23, 2017

OS: Ubuntu 16.04
Current Node Version: 6.11.3 (installed through nvm)
I also have the latest version of node as a repo (but it's not installed into the system)
node is not installed as part of the system it's installed locally by my user

node -v : The program 'node' is currently not installed. You can install it by typing:
sudo apt install nodejs-legacy

nvm ls: 
->      v6.11.3
default -> system (-> N/A)
node -> stable (-> v6.11.3) (default)
stable -> 6.11 (-> v6.11.3) (default)
iojs -> N/A (default)
lts/* -> lts/boron (-> v6.11.3)
lts/argon -> v4.8.4 (-> N/A)
lts/boron -> v6.11.3

ok now moving on to the problem. Nodejs installer does show that I have version 6.11.3 installed, and has the Update to v8.7.0 button available. It also has the latest verison buttons that let's you install the stable and current versions of nodejs.

When I click on the update version I get the following error:

Command failed: [object Object] undefined tar --strip=1 -C /usr/local -oxf /tmp/node-v6.11.4-linux-x64.tar.gz /bin/sh: 1: [object: not found

Looking at the console I get the following error:

/home/jl/installer/src/renderer/components/App.jsx:61
failed: [object Object] undefined tar --strip=1 -C /usr/local -oxf /tmp/node-v6.11.4-linux-x64.tar.gz
/bin/sh: 1: [object: not found
    at ChildProcess.exithandler (child_process.js:217:12)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:194:7)
    at maybeClose (internal/child_process.js:899:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)

attempting to install the stable version or current version from the latest versions button gives me the following error:

Error: Command failed: [object Object] undefined tar --strip=1 -C /usr/local -oxf /tmp/node-v6.11.4-linux-x64.tar.gz
/bin/sh: 1: [object: not found
    at ChildProcess.exithandler (child_process.js:217)
    at emitTwo (events.js:106)
    at ChildProcess.emit (events.js:194)
    at maybeClose (internal/child_process.js:899)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:226)

(just change v6.11.4 to 8.7.0 )

It seems to me that it's not being able to download the tar to install said version, but Im not entirely sure because even when i click on update to v8.7.0 it tries to obtain the v6.11.4.

I assume there might be a problem with nvm and installer (having read some of the issues).

At the moment I'm trying to get it to work so that I can get used to the software and contribute in the future if possible.

So before fixing this possible issue (that could be just my mistake for having nvm alongside installer) is there a workaround so I can get this working properly?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant