baelte
baelte copied to clipboard
Installation error: too few X's in template ‘tmp’
When I try to install with npm (yarn global add baelte
did not install anything visible), I get the following error output:
sudo npm install -g baelte
> [email protected] install /usr/lib/node_modules/baelte
> node install.js
install.sh: GitHub repository: https://github.com/kennethlarsen/baelte
install.sh: Crate: baelte
install.sh: Tag: latest (v0.2.0)
install.sh: Target: x86_64-unknown-linux-gnu
install.sh: Installing to: /root/.cargo/bin
mktemp: failed to create directory via template ‘/usr/lib/node_modules/baelte/tmp.XXXXXXXXXX’: Permission denied
mktemp: too few X's in template ‘tmp’
+ [email protected]
updated 1 package in 1.189s
- I am running Fedora 30 x64
- rustup is v1.19.0
- rustc and cargo are v1.39.0-nightly
@sisou Thanks for posting the issue!
Do you get the same issue when running without sudo
?
Well, without sudo I get Error: EACCES: permission denied, access '/usr/lib/node_modules/baelte'
because my normal user can't write to /usr/lib
.
Error still present