baelte icon indicating copy to clipboard operation
baelte copied to clipboard

Installation error: too few X's in template ‘tmp’

Open sisou opened this issue 4 years ago • 3 comments

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 avatar Sep 20 '19 15:09 sisou

@sisou Thanks for posting the issue!

Do you get the same issue when running without sudo?

kennethlarsen avatar Sep 21 '19 20:09 kennethlarsen

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.

sisou avatar Sep 23 '19 07:09 sisou

Error still present

sergiobrr avatar Dec 01 '19 18:12 sergiobrr