vegu-ai / talemate

Roleplay with AI with a focus on strong narration, consistent world and game state tracking.
GNU Affero General Public License v3.0
102 stars 8 forks source link

cannot find fs/promises #116

Open yggdrasil75 opened 1 month ago

yggdrasil75 commented 1 month ago

> talemate_frontend@0.25.3 serve
> vue-cli-service serve

ALLOWED_HOSTS all
VUE_APP_TALEMATE_BACKEND_WEBSOCKET_URL null
 ERROR  Error: Cannot find module 'fs/promises'
        Require stack:
        - /docker/talemate/talemate_frontend/node_modules/@vuetify/loader-shared/dist/styles/writeStyles.js
        - /docker/talemate/talemate_frontend/node_modules/@vuetify/loader-shared/dist/index.js
        - /docker/talemate/talemate_frontend/node_modules/webpack-plugin-vuetify/dist/scriptLoader.js
        - /docker/talemate/talemate_frontend/node_modules/webpack-plugin-vuetify/dist/index.js
        - /docker/talemate/talemate_frontend/node_modules/vue-cli-plugin-vuetify/index.js
        - /docker/talemate/talemate_frontend/node_modules/@vue/cli-service/lib/Service.js
        - /docker/talemate/talemate_frontend/node_modules/@vue/cli-service/bin/vue-cli-service.js
Error: Cannot find module 'fs/promises' 

I think your package-lock is missing an item.

vegu-ai-tools commented 1 month ago

There seems to be some issues with the docker setup in general, although i can't immediately reproduce off of a fresh talemate checkout - will investigate more when i do #114

thanks for the report

yggdrasil75 commented 1 month ago

nah, couldnt figure out how to fix the dockerfile properly, so I was running it directly. this might be because I have a few webservers previously installed on the system I am using which might have older versions of the modules in question or it might be that npm just didnt install the requisite modules. I dont know, I avoid npm because of these issues.

might be best to spin up a vm of ubuntu (system in question) and try running there.