Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sisou opened this issue Sep 20, 2019 · 3 comments
Open

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

sisou opened this issue Sep 20, 2019 · 3 comments
Labels
bug Something isn't working OS: Linux

Comments

@sisou
Copy link

sisou commented Sep 20, 2019

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 sisou changed the title Can't install Can't install - too few X's in template ‘tmp’ Sep 20, 2019
@sisou sisou changed the title Can't install - too few X's in template ‘tmp’ Installation error: too few X's in template ‘tmp’ Sep 20, 2019
@kennethlarsen
Copy link
Owner

@sisou Thanks for posting the issue!

Do you get the same issue when running without sudo?

@sisou
Copy link
Author

sisou commented Sep 23, 2019

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.

@sergiobrr
Copy link

Error still present

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working OS: Linux
Projects
None yet
Development

No branches or pull requests

3 participants