Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Errors on install and /tmp dir wipe out!
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  10 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
S. A.  
View profile  
 More options Jul 7 2011, 7:27 pm
From: "S. A." <game...@gmail.com>
Date: Thu, 7 Jul 2011 16:27:12 -0700 (PDT)
Local: Thurs, Jul 7 2011 7:27 pm
Subject: Errors on install and /tmp dir wipe out!

Hello,

See the errors  below.
Does the npm install wipe out the files under /tmp? My downloads usually
goto /tmp and they are wiped out. Why does it need to clean out the /tmp
dir?

Thanks

$ curl http://npmjs.org/install.sh | sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  
Current
                                 Dload  Upload   Total   Spent    Left  
Speed
100  3902  100  3902    0     0  16745      0 --:--:-- --:--:-- --:--:--
84826
fetching: http://registry.npmjs.org/npm/-/npm-1.0.15.tgz
0.5.0
1.0.15
prefix=/usr/local/node
altprefix=/usr/local/node-v0.5.0

This script will find and eliminate any shims, symbolic
links, and other cruft that was installed by npm 0.x.

Is this OK? enter 'yes' or 'no'
yes

All clean!
! [ -d .git ] || git submodule update --init
node cli.js cache clean
node cli.js rm npm -g -f --loglevel error
shell-init: error retrieving current directory: getcwd: cannot access parent
directories: No such file or directory

node.js:360
    var cwd = process.cwd();
                      ^
Error: No such file or directory
    at Function.resolveArgv0 (node.js:360:23)
    at startup (node.js:48:13)
    at node.js:474:3
gmake: *** [uninstall] Error 11

node.js:360
    var cwd = process.cwd();
                      ^
Error: No such file or directory
    at Function.resolveArgv0 (node.js:360:23)
    at startup (node.js:48:13)
    at node.js:474:3

node.js:360
    var cwd = process.cwd();
                      ^
Error: No such file or directory
    at Function.resolveArgv0 (node.js:360:23)
    at startup (node.js:48:13)
    at node.js:474:3

node.js:360
    var cwd = process.cwd();
                      ^
Error: No such file or directory
    at Function.resolveArgv0 (node.js:360:23)
    at startup (node.js:48:13)
    at node.js:474:3
It failed


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
S. A.  
View profile  
 More options Jul 8 2011, 7:42 pm
From: "S. A." <game...@gmail.com>
Date: Fri, 8 Jul 2011 16:42:56 -0700 (PDT)
Local: Fri, Jul 8 2011 7:42 pm
Subject: Re: Errors on install and /tmp dir wipe out!

It appears that I am the only one having this issue!

Is anyone able to successfully install npm under the latest node release
(v0.5) on CentOS 5.5?
Every time I try 'curl http://npmjs.org/install.sh | sh' as root, it empties
my /tmp clean!

Thanks


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Isaac Schlueter  
View profile  
 More options Jul 9 2011, 4:15 pm
From: Isaac Schlueter <i...@izs.me>
Date: Sat, 9 Jul 2011 13:15:19 -0700
Local: Sat, Jul 9 2011 4:15 pm
Subject: Re: [npm] Re: Errors on install and /tmp dir wipe out!
That's really odd.  If you set something else as the TMPDIR environ,
does it clear out that folder as well?  Does it do this on other
linuxes?  Is there any other error output?

What is `npm config ls`?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
S. A.  
View profile  
 More options Jul 11 2011, 2:02 pm
From: "S. A." <game...@gmail.com>
Date: Mon, 11 Jul 2011 11:02:52 -0700 (PDT)
Local: Mon, Jul 11 2011 2:02 pm
Subject: Re: [npm] Re: Errors on install and /tmp dir wipe out!

Remember, this is a new install and hence can't run "npm config ls"!

I tried to set the tmpdir as following:
        export TMPDIR=/tmp/tmp_npm; curl http://npmjs.org/install.sh | sh

I had few files and couple of dir (including the /tmp/tmp_npm) under /tmp/
and all of them got deleted.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Isaac Schlueter  
View profile  
 More options Jul 11 2011, 2:53 pm
From: Isaac Schlueter <i...@izs.me>
Date: Mon, 11 Jul 2011 11:53:32 -0700
Local: Mon, Jul 11 2011 2:53 pm
Subject: Re: [npm] Re: Errors on install and /tmp dir wipe out!
Can you do this, and share the output?

mkdir -p ~/npm-tmp/some-folder
touch ~/npm-tmp/some-folder/some-file
echo tmproot = ~/npm-tmp > ~/.npmrc
mkdir npm-1.0.15
cd npm-1.0.15
curl -O http://registry.npmjs.org/npm/-/npm-1.0.15.tgz
tar zxf npm-1.0.15.tgz
cd package
./configure
make install
ls -laF ~/npm-tmp


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
S. A.  
View profile  
 More options Jul 11 2011, 3:30 pm
From: "S. A." <game...@gmail.com>
Date: Mon, 11 Jul 2011 12:30:25 -0700 (PDT)
Local: Mon, Jul 11 2011 3:30 pm
Subject: Re: [npm] Re: Errors on install and /tmp dir wipe out!

This worked! folders and files under some-folder survived:
$ ls -laF ~/npm-tmp
total 16
drwxrwxr-x  3 root root 4096 Jul 11 15:12 ./
drwxr-x--- 25 root root 4096 Jul 11 15:12 ../
drwxrwxr-x  2 root root 4096 Jul 11 15:12 some-folder/

I am now able to do 'npm ls', but when I did 'npm update', it is kind of
stuck there for the past 10 minutes. I see that connect, express, mongodb
and mongoose dir are updated with time stamp 15:18, and date now is:
$ date
Mon Jul 11 15:28:47 EDT 2011
npm update is still running. Is it OK if I break it? Does it leave any
updates in an unstable state?

Thanks


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Isaac Schlueter  
View profile  
 More options Jul 11 2011, 4:08 pm
From: Isaac Schlueter <i...@izs.me>
Date: Mon, 11 Jul 2011 13:08:40 -0700
Local: Mon, Jul 11 2011 4:08 pm
Subject: Re: [npm] Re: Errors on install and /tmp dir wipe out!
Yeah, it should be fine to kill it.  Even if modules are in a broken
state, you can always re-install them.  `npm cache clean` if the cache
is messed up.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
S. A.  
View profile  
 More options Jul 11 2011, 4:27 pm
From: "S. A." <game...@gmail.com>
Date: Mon, 11 Jul 2011 13:27:29 -0700 (PDT)
Local: Mon, Jul 11 2011 4:27 pm
Subject: Re: [npm] Re: Errors on install and /tmp dir wipe out!

I did `npm cache clean` and then 'npm update', but it still does not
terminate.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Isaac Schlueter  
View profile  
 More options Jul 11 2011, 4:29 pm
From: Isaac Schlueter <i...@izs.me>
Date: Mon, 11 Jul 2011 13:29:48 -0700
Local: Mon, Jul 11 2011 4:29 pm
Subject: Re: [npm] Re: Errors on install and /tmp dir wipe out!
Can you please post the full output as a new issue on the github
issues page, along with the output of `npm config ls`?  This isn't
related to the original post in this thread.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
S. A.  
View profile  
 More options Jul 11 2011, 4:42 pm
From: "S. A." <game...@gmail.com>
Date: Mon, 11 Jul 2011 13:42:03 -0700 (PDT)
Local: Mon, Jul 11 2011 4:42 pm
Subject: Re: [npm] Re: Errors on install and /tmp dir wipe out!
 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »