Skip to content

On Mac OS, I got this error #468

@parolkar

Description

@parolkar

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions