Closed jvan1234 closed 2 years ago
Hey! @jvan1234 Thanks for your report.
I'm not able to reproduce, without a clear step-by-step explication to reproduce the bug, we can't help, thanks for your understanding, hopefully, you will still be able to install and use Leon. :smile:
Edit: Please reopen if the issue still persists.
Same error here with leon - 1.3.1 and Linux Mint 21.1
sudo npm i -g @leon-ai/cli
leon create birth
Error: Your package manager is not supported.
Supported: apk, apt, brew, dnf, pacman, yum.
cat /etc/*release*
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=21.1
DISTRIB_CODENAME=vera
DISTRIB_DESCRIPTION="Linux Mint 21.1 Vera"
NAME="Linux Mint"
VERSION="21.1 (Vera)"
ID=linuxmint
ID_LIKE="ubuntu debian"
PRETTY_NAME="Linux Mint 21.1"
VERSION_ID="21.1"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.linuxmint.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=vera
UBUNTU_CODENAME=jammy
Hello! @thomasleveil Can you try like this:
npm install --global @leon-ai/cli@beta
leon create birth --develop
leon create birth --develop
It worked :tada:
Specs
npm ERR! code ENOENT npm ERR! syscall open npm ERR! path /home/joshua/package.json npm ERR! errno -2 npm ERR! enoent ENOENT: no such file or directory, open '/home/joshua/package.json' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: npm ERR! /home/joshua/.npm/_logs/2022-08-08T21_42_29_657Z-debug-0.log
Expected Behavior
When I run
leon create birth
, it should install without error.Actual Behavior
When I run
leon create birth
, it outputs:Error: Your package manager is not supported. Supported: apk, apt, brew, pacman, yum. For further information, look at the log file located at /home/joshua/.config/@leon-ai/cli/log-errors.txt
APT is my Operating System's main package manager, I am uncertain why this is.How Do We Reproduce?
Uncertain.
Extra (like a sample repo to reproduce the issue, etc.)
log-errors.txt