kennethlarsen / baelte

CLI tool for svelte to help you be productive
MIT License
94 stars 2 forks source link

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

Open sisou opened 5 years ago

sisou commented 5 years ago

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

> baelte@1.0.1 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’

+ baelte@1.0.1
updated 1 package in 1.189s
kennethlarsen commented 5 years ago

@sisou Thanks for posting the issue!

Do you get the same issue when running without sudo?

sisou commented 5 years ago

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 commented 4 years ago

Error still present