cocktailpeanut / dalai

The simplest way to run LLaMA on your local machine
https://cocktailpeanut.github.io/dalai
13.09k stars 1.43k forks source link

Installation failure in Windows #431

Closed pdavis68 closed 1 year ago

pdavis68 commented 1 year ago

Cleared out my old install and tried to start over from scratch. I deleted the _npx directory in npm-cache and tried again, but same issue. Any ideas?

F:\LLM>npx dalai install 13B --home f:\llm\dalai Need to install the following packages: dalai@0.3.1 Ok to proceed? (y) y mkdir f:\llm\dalai { method: '13B', callparams: [] } C:\Users\pdavi\AppData\Local\npm-cache_npx\3c737cbb02d79cc9\node_modules\dalai\bin\cli.js:30 dalai[method](core, ...callparams).then(() => { ^

TypeError: dalai[method] is not a function at Object. (C:\Users\pdavi\AppData\Local\npm-cache_npx\3c737cbb02d79cc9\node_modules\dalai\bin\cli.js:30:20) at Module._compile (node:internal/modules/cjs/loader:1254:14) at Module._extensions..js (node:internal/modules/cjs/loader:1308:10) at Module.load (node:internal/modules/cjs/loader:1117:32) at Module._load (node:internal/modules/cjs/loader:958:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:23:47

Node.js v18.14.2