lichess-org / lila-docker

Lichess local development using Docker Compose.
GNU Affero General Public License v3.0
34 stars 33 forks source link

no such file or directory, open '/lila/...' after crashing at first setup/startup #122

Open alvinlollo opened 21 hours ago

alvinlollo commented 21 hours ago

When I've been installing Lila during the process do starting it up for the first time my computer crashed resulting in an errors that are hard to fix, using some of the actions: start Start the containers stop Stop the containers restart Restart the containers down Stop the containers and remove their volumes build Pre-fetch and pre-build all the images necessary for the containers format Run the code formatter to match Lichess code style hostname Set the hostname to something different than the default localhost mobile For mobile app development. Pair and connect to a mobile device flutter Get the 'flutter run' command with the URL arguments pre-configured db Reset and re-seed the database with fresh fake data lila clean Run 'sbt clean' in the lila container. Useful if there are compilation errors lila restart Restart the lila container to apply changes to the codebase gitpod public Make http port 8080 public on the Gitpod instance ui Compile the frontend code. Runs in watch mode to automatically recompile on changes add-services Add new services to the existing setup status Show the status of all git repositories in ./repos pull Pull the latest changes from all git repositories in ./repos

I've been able to fix all but one issue which is this: no such file or directory, open '/lila/...' almost all the commands I tried to use tries to access this directory that does not exist, I'm not sure how to fix it or what's specifically contained in it except for db and config

alvinlollo commented 20 hours ago

Another things to add (if it helps)

` node:internal/modules/cjs/loader:1222 throw err; ^

Error: Cannot find module '/lila/ui/build' at Module._resolveFilename (node:internal/modules/cjs/loader:1219:15) at Module._load (node:internal/modules/cjs/loader:1045:27) at TracingChannel.traceSync (node:diagnostics_channel:315:14) at wrapModuleLoad (node:internal/modules/cjs/loader:215:24) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:158:5) at node:internal/main/run_main_module:30:49 { code: 'MODULE_NOT_FOUND', requireStack: [] }

Node.js v22.5.1`