ykdojo / kaguya

A ChatGPT plugin that allows you to load and edit your local files in a controlled way, as well as run any Python, JavaScript, and bash script.
http://kaguya.ai/
MIT License
1.2k stars 192 forks source link

Docker produces error on Windows #29

Closed AnBenLa closed 11 months ago

AnBenLa commented 1 year ago

Running the docker application on Windows 10 produces the following error:

> hako-next@0.1.0 dev /kaguya
> if [ -f /.dockerenv ]; then next dev; else echo 'Error: Please run this script inside a Docker container.' && exit 1; fi
Watchpack Error (watcher): Error: EACCES: permission denied, watch '/root'
Watchpack Error (initial scan): Error: EACCES: permission denied, scandir '/root'
ready - started server on 0.0.0.0:3000, url: http://localhost:3000
error - Project directory could not be found, restart Next.js in your new directory
ykdojo commented 1 year ago

I believe there was a discussion about this on our Discord. Mind checking there?

AnBenLa commented 1 year ago

Sure, I will do. Thanks for the quick reply!

I believe there was a discussion about this on our Discord. Mind checking there?

ykdojo commented 1 year ago

No problem.

I think this might be the solution I was referring to. Let me know if it works: https://discord.com/channels/1007344194622324807/1120722773879300257/1121965413480267837