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

Error installing new Node version on OSX #112

Closed
dangerbell opened this issue Apr 22, 2013 · 6 comments
Closed

Error installing new Node version on OSX #112

dangerbell opened this issue Apr 22, 2013 · 6 comments

Comments

@dangerbell
Copy link

I just installed 'n' using npm (npm install n -g) which worked. I then went to install the latest stable release of Node and it downloaded and compiled fine, but then stopped when copying from /usr/local/n/versions/0.10.4/include/node. I got the same error if I specified '0.10.4' instead of 'stable' and the same error for '0.10.3'.

I was able to install 0.8.23, but that also seemed to end with a different error:

cp: cannot overwrite directory ./wafadmin with non-directory /usr/local/lib/node//wafadmin

(Note the double slashes before 'wafadmin')

But in the 0.8.23 case node --version gives me v0.8.23 so it seems to have mostly worked.

Versions:

original installed version of node: 0.8.17
npm: 1.2.10
n: 0.7.3
OSX: 10.8.2
@bhanuc
Copy link

bhanuc commented May 14, 2014

geting same error on gentoo.

@qw3rtman
Copy link
Collaborator

Is this still an issue or can this be closed?

@bhanuc
Copy link

bhanuc commented Dec 21, 2015

I moved from gentoo to Ubuntu so cannot confirm the issue from my end
On Dec 21, 2015 2:45 AM, "Nimit Kalra" notifications@github.com wrote:

Is this still an issue or can this be closed?


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

@dangerbell
Copy link
Author

I didn't end up using 'n', so I didn't keep trying on this. I just tried to install the latest node version with n and it didn't work, but with a different error.

It might be that this isn't installed right or it it's some issue with something else I've upgraded since then, like moving to OS X El Captain.

This is the error I got:

[10:31:06] vail:backend$ n latest
######################################################################## 100.0%
rm: node-v5.3.0.tar.gz: No such file or directory
Error: installation failed
  node version 5.3.0 does not exist,
  n failed to fetch the tarball,
  or tar failed. Try a different
  version or view /tmp/n.log to view
  error details.
[10:31:12] vail:backend$ n stable
######################################################################## 100.0%
rm: node-v5.2.0.tar.gz: No such file or directory
Error: installation failed
  node version 5.2.0 does not exist,
  n failed to fetch the tarball,
  or tar failed. Try a different
  version or view /tmp/n.log to view
  error details.
[10:34:48] vail:backend$ cat /tmp/n.log 
tar: Unrecognized archive format
tar: Error exit delayed from previous errors.

Current version info:

OS X 10.11.1
npm: 2.14.2
n: 0.4.2
node: v4.0.0

Unfortunately since I'm not using 'n', I can't really put more effort into debugging this. Feel free to close this if it's not something other users are reporting.

@qw3rtman
Copy link
Collaborator

@dangerbell update n! We're on 2.1.0 now. npm update n --global. Let me know if that helps.

@troy0820
Copy link
Collaborator

The updates to the newest version of n should take care of this. I'm closing this issue but if this issue persists, please open a new issue.

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

No branches or pull requests

4 participants