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

Throw explicit error when there's a typo in the install command #457

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

JQuezada0
Copy link

Relevant issue: #371

When running npx dalai llama install [..] if you don't spell "llama" correctly you'll get an error that doesn't indicate what's failing

ERROR TypeError: Cannot read properties of undefined (reading 'home')
    at Dalai.install ($HOME/.npm/_npx/3c737cbb02d79cc9/node_modules/dalai/index.js:337:43)

This will just be a bit more explicit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant