Default tmp directory is in HOME #2936
Comments
The default tmp dir is /tmp. The default cache dir is ~/.npm, which is not a "temp" dir, though it is fine to delete stuff out of there. More properly, it's a cache. Set the tmp dir via the |
In Ubuntu, The default tmp dir is |
Thanks for confirming what I suspected pksunkara. Indeed, the Ubuntu package has the default as $HOME/tmp |
Ah, right, well... if the OS sets TMP or TMPDIR environments, npm dutifully does as its told. |
How can I ask npm to use ~/.tmp rather than ~/tmp in ubuntu? |
Fairly certain it's the You can get more info by doing |
Opened a ticket here: https://bugs.launchpad.net/ubuntu/+source/npm/+bug/1543797 |
Is that intentional?
How can I change it?
The text was updated successfully, but these errors were encountered: