opendp / dpcreator

Web application that makes data releases that satisfy differential privacy using the OpenDP Library
MIT License
22 stars 4 forks source link

Cant run the client-side #876

Open k4llman opened 1 year ago

k4llman commented 1 year ago

Hi!

I have troubles with running the client-side. When I run the program with Docker and access localhost:8080 - I encounter this error message (first photo of website) that it cant send GET request to the Vue-Settings API (even though there's one handler for it in the API)?

Also, I have tried to build the client side and following the ReadME in the given folder. However, when running the command yarn install - I encounter the following error message (photo of VS code) when it tries to install the devdependency vue-cli-plugin-i18n:

" warning vue-cli-plugin-i18n > vue@2.7.16: Vue 2 has reached EOL and is no longer actively maintained. See https://v2.vuejs.org/eol/ for more details. [2/4] 🚚 Fetching packages... error @achrinza/node-ipc@9.2.2: The engine "node" is incompatible with this module. Expected version "8 || 10 || 12 || 14 || 16 || 17". Got "20.11.0" error Found incompatible module. "

After researching, it seems like Vue 2 has reached its EOL at 31/12-23 and that might be the reason why the module cant find it?

k4llman commented 1 year ago

forgot to add the printscreens...

this is the error message after accessing localhost:8080:

Skärmavbild 2024-02-12 kl  11 08 24

and yarn install results in this error:

Skärmavbild 2024-02-12 kl  21 50 39
ekraffmiller commented 1 year ago

Hi @k4llman, there are issues with deprecated libraries, so that might be causing your error, but I also noticed that you are running on localhost:8080 - the app should be accessed from localhost:8000. Can you try that?

k4llman commented 1 year ago

"

Hi, I assumed there were something wrong with the libraries. Alright, I thought you had to run both the client and server side in order to gain the full functionality!