dpcreator icon indicating copy to clipboard operation
dpcreator copied to clipboard

Cant run the client-side

Open k4llman opened this issue 2 years ago • 3 comments

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 > [email protected]: 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/[email protected]: 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 avatar Feb 12 '24 20:02 k4llman

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

k4llman avatar Feb 12 '24 20:02 k4llman

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?

ekraffmiller avatar Feb 13 '24 21:02 ekraffmiller

"

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!

k4llman avatar Feb 14 '24 09:02 k4llman