dalai
dalai copied to clipboard
Why didn't installed.
Fist ,when I input "npx dalai serve", get the response belown:
C:\WINDOWS\system32>npx dalai serve
Need to install the following packages:
[email protected]
Second, wait installation finished and then i input "npx dalai serve" again, get the same response above. There isn't logs for ggml models download.
I found there is not dalai folders, and there isn't ggml models file either.
What is the resaon?
Fom npm-cache/_log, get infos below:
0 verbose cli C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js
1 info using [email protected]
2 info using [email protected]
3 timing npm:load:whichnode Completed in 1ms
4 timing config:load:defaults Completed in 1ms
5 timing config:load:file:C:\Program Files\nodejs\node_modules\npm\npmrc Completed in 3ms
6 timing config:load:builtin Completed in 3ms
7 timing config:load:cli Completed in 2ms
8 timing config:load:env Completed in 0ms
9 timing config:load:project Completed in 2ms
10 timing config:load:file:C:\Users\ASUS\.npmrc Completed in 0ms
11 timing config:load:user Completed in 0ms
12 timing config:load:file:C:\Users\ASUS\AppData\Roaming\npm\etc\npmrc Completed in 0ms
13 timing config:load:global Completed in 0ms
14 timing config:load:setEnvs Completed in 1ms
15 timing config:load Completed in 11ms
16 timing npm:load:configload Completed in 12ms
17 timing npm:load:mkdirpcache Completed in 1ms
18 timing npm:load:mkdirplogs Completed in 0ms
19 verbose title npm prefix
20 verbose argv "prefix" "--global"
21 timing npm:load:setTitle Completed in 1ms
22 timing config:load:flatten Completed in 2ms
23 timing npm:load:display Completed in 4ms
24 verbose logfile logs-max:10 dir:C:\Users\ASUS\AppData\Local\npm-cache\_logs\2023-04-25T15_05_30_685Z-
25 verbose logfile C:\Users\ASUS\AppData\Local\npm-cache\_logs\2023-04-25T15_05_30_685Z-debug-0.log
26 timing npm:load:logFile Completed in 6ms
27 timing npm:load:timers Completed in 0ms
28 timing npm:load:configScope Completed in 0ms
29 timing npm:load Completed in 26ms
30 timing command:prefix Completed in 2ms
31 verbose exit 0
32 timing npm Completed in 38ms
33 info ok
I have the same issue
Im having the same issue as well tried installing on various computers / reset OS and still same issue each time
I have the same issue. I try it on a PC and on a Mac.
Same issue here
I had the same issue. I now have them running on a linux box and a mac mini. It was installing correctly because it would finish way too quickly. So, I got diverted to the troubleshooting.
Step 2.2. Troubleshoot Normally you don't need this step, but if running the commands above don't do anything and immediately end, it means something went wrong because some of the required modules are not installed on your system.
In that case, try the following steps:
- Install homebrew In case homebrew is not installed on your computer, install it by running:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" Or you can find the same instruction on the homebrew hompage: https://brew.sh/
- Install dependencies Once homebrew is installed, install these dependencies:
brew install cmake brew install pkg-config
After I installed homebrew and dicked around with my .profile and .bashrc file then things started becoming clear. If you installed node.js, in automatically installs nlm. It installs an older one and I found a website that showed me how to clear the cached and install the latest version. You could do that before installing homebrew and then it would all work.
I initially thought it was linux version specific and I had installed debian, opensuse, fedora and ubuntu. It was not the problem and the mac actually installed right through. The mac had the latest node.js already installed, however.
I hope this isn't too vague. If it is the I can write a better summary. It is 6:00 a.m. and I have been up all night dicking around with this. Anyway, good luck.