pinokiofactory / sillytavern

1 stars 1 forks source link

ERROR IN INSTALLING #1

Open alisajjadi2001ar opened 3 months ago

alisajjadi2001ar commented 3 months ago

hello. in the end of installing of software i had several error: C:\Users\my pc \pinokio\api\sillytavern.git\app>conda_hook && conda deactivate && conda deactivate && conda deactivate && conda activate base && C:\Users\Sajjadi\pinokio\api\sillytavern.git\app\env\Scripts\activate C:\Users\Sajjadi\pinokio\api\sillytavern.git\app\env && npm i --no-audit --no-fund --quiet --omit=dev npm ERR! code ENOENT npm ERR! syscall open npm ERR! path C:\Users\Sajjadi\pinokio\api\sillytavern.git\app\package.json npm ERR! errno -4058 npm ERR! enoent Could not read package.json: Error: ENOENT: no such file or directory, open 'C:\Users\Sajjadi\pinokio\api\sillytavern.git\app\package.json' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent

npm ERR! A complete log of this run can be found in: C:\Users\Sajjadi\AppData\Local\npm-cache_logs\2024-05-29T06_56_09_410Z-debug-0.log

(env) (base) C:\Users\Sajjadi\pinokio\api\sillytavern.git\app>

how to solve these problems?

6Morpheus6 commented 3 months ago

hello. in the end of installing of software i had several error: C:\Users\my pc \pinokio\api\sillytavern.git\app>conda_hook && conda deactivate && conda deactivate && conda deactivate && conda activate base && C:\Users\Sajjadi\pinokio\api\sillytavern.git\app\env\Scripts\activate C:\Users\Sajjadi\pinokio\api\sillytavern.git\app\env && npm i --no-audit --no-fund --quiet --omit=dev npm ERR! code ENOENT npm ERR! syscall open npm ERR! path C:\Users\Sajjadi\pinokio\api\sillytavern.git\app\package.json npm ERR! errno -4058 npm ERR! enoent Could not read package.json: Error: ENOENT: no such file or directory, open 'C:\Users\Sajjadi\pinokio\api\sillytavern.git\app\package.json' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent

npm ERR! A complete log of this run can be found in: C:\Users\Sajjadi\AppData\Local\npm-cache_logs\2024-05-29T06_56_09_410Z-debug-0.log

(env) (base) C:\Users\Sajjadi\pinokio\api\sillytavern.git\app>

how to solve these problems?

Your 3rd line says SillyTavern is installed in C:\Users\my pc \pinokio\api\ All other lines say it is installed in C:\Users\Sajjadi\pinokio\api\ You can only have one home directory where all your apps are installed. You see and set it on the Settings page of pinokio. And this path may not contain spaces. I don't know if this error message is correct and how you were able to set it up this way. But it might be the cause of your error. If you join the Pinokio Discord Server we can have a look at your issue in the pinokio-support channel and figure out what went wrong and how to solve it.