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

Installer hangs at Choco install #6

Open
zhntrinc opened this issue Apr 1, 2023 · 4 comments
Open

Installer hangs at Choco install #6

zhntrinc opened this issue Apr 1, 2023 · 4 comments

Comments

@zhntrinc
Copy link

zhntrinc commented Apr 1, 2023

Installer hangs:

Installing Choco
ReferenceError [Error]: alert is not defined
at setupEntries (C:\Users\IronMan\AppData\Local\Programs\dalaix\resources\app.asar\out\main\installWorker-acd0c3c3.js:60:7)
at run (C:\Users\IronMan\AppData\Local\Programs\dalaix\resources\app.asar\out\main\installWorker-acd0c3c3.js:24:9)
at process.processTicksAndRejections (node:internal/process/task_queues:96:5)

@BenHerbst
Copy link
Owner

Hello,
this Error shows that it can't show an error message (alert is not defined, I am going to fix that),
but the Error message is about not being able to create 3 files: autostart.bat, start.bat and stop.bat.
You may somehow run Dalai without permissions for the C:\Dalai folder?
Please try to execute it from an evaluated admin shell, if it still doesn't works, try to create a file in C:\Dalai and tell me if that works.

@zhntrinc
Copy link
Author

zhntrinc commented Apr 2, 2023

I was already running it from an admin shell. Creating the C:\Dalai folder let it finish the install but it does not seem to be installing the models. I tried with all the different models to the same result.

@BenHerbst
Copy link
Owner

go into C:\Dalai\dalai and type: npm install && npx dalai alpaca install 7B

@BenHerbst
Copy link
Owner

Idk why it failed for you at all, I got it working in VMs and other users had it working too

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

2 participants