'asdf fails node install with: permission denied error, how to grant it permission?
When i try to install a node version with asdf-vm i get the following error
Trying to update node-build... ok
mkdir: cannot set permissions '/tmp': Permission denied
node-build: TMPDIR=/tmp is set to a non-accessible location
Solution 1:[1]
Try setting TMPDIR to some directory that the installer can write to (it's running as you so anywhere you can write to should work).
For example: export TMPDIR=~/tmp/.
You may also want to report this issue to the maintainers of the asdf-nodejs plugin as the temp dir logic should work out of the box on all supported systems.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Stratus3D |
