dalai
dalai copied to clipboard
Error: Cannot find module \node_modules\dalai\bin\cli.js'
Hello
How can I fix it?
C:\Users\pubjl\Desktop\AI>npx dalai alpaca install 7B node:internal/modules/cjs/loader:1078 throw err; ^
Error: Cannot find module 'C:\Users\pubjl\node_modules\dalai\bin\cli.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15) at Module._load (node:internal/modules/cjs/loader:920:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:23:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }
Node.js v18.15.0
Thank you
yeah , i gert stuck on this aswell :(
same here
Same :/
I had the same issue
What fixed it was running npm install -g dalai
before running the npx
command.
Apparently they removed that from the install guide
Edit: I should mention, that brings up another issue when trying to generate a response on the web ui
Make sure you download the complete package and don't interrupt the download until its not finished.
What fixed it was running
npm install -g dalai
before running thenpx
command.
@Lordmau5 advice helped me