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

On Mac OS, I got this error #468

Open
parolkar opened this issue Oct 6, 2023 · 0 comments
Open

On Mac OS, I got this error #468

parolkar opened this issue Oct 6, 2023 · 0 comments

Comments

@parolkar
Copy link

parolkar commented Oct 6, 2023

Hi There,

On my Mac OS, the npx dalai command was returning nothing:

bash-3.2$ npx dalai alpaca install 7B
bash-3.2$ npx dalai llama install 7B
bash-3.2$ npx dalai serve
bash-3.2$ npx dalai 
bash-3.2$ npx dalai --verbose


then I saw this error:


bash-3.2$ node bin/cli.js serve
node:internal/modules/cjs/loader:1051
  throw err;
  ^

Error: Cannot find module 'yargs/yargs'

Fixed it locally by running

npm init
 npm i yargs --save

Hopefully it helps others.

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

No branches or pull requests

1 participant