Skip to content

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

Open
JQuezada0 wants to merge 1 commit into
cocktailpeanut:mainfrom
JQuezada0:patch-1
Open

Throw explicit error when there's a typo in the install command#457
JQuezada0 wants to merge 1 commit into
cocktailpeanut:mainfrom
JQuezada0:patch-1

Conversation

@JQuezada0

Copy link
Copy Markdown

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.

1 participant