dalai icon indicating copy to clipboard operation
dalai copied to clipboard

Cannot read properties of undefined (reading 'home') on mac

Open panw3i opened this issue 1 year ago • 2 comments

Need to install the following packages: [email protected] Ok to proceed? (y) y mkdir /Users/pan/dalai { method: 'install', callparams: [ '7B' ] } ERROR TypeError: Cannot read properties of undefined (reading 'home') at Dalai.install (/Users/pan/.npm/_npx/3c737cbb02d79cc9/node_modules/dalai/index.js:337:43)

panw3i avatar Apr 09 '23 06:04 panw3i

Same here

Eisermann avatar May 25 '23 11:05 Eisermann

I got this error as well and realized it was caused by a typo. I was running npx dalai llam install 30B; worked fine after fixing it to llama.

Even if that's not the case here, this should help make what's going on a bit clearer https://github.com/cocktailpeanut/dalai/pull/457

JQuezada0 avatar Jun 12 '23 17:06 JQuezada0