Kitware / paraview-lite

Lite Client to a ParaView server which rely on Web technologies
https://kitware.github.io/paraview-lite/
BSD 3-Clause "New" or "Revised" License
32 stars 17 forks source link

Connection Error and missing dist directory #17

Closed PierreLouis94 closed 3 months ago

PierreLouis94 commented 4 months ago

I cloned the repository and installed dependencies successfully using the following commands:

$ git clone https://github.com/Kitware/paraview-lite.git $ cd paraview-lite/ $ npm install

Initially, I encountered numerous errors, but managed to resolve them using npm audit fix. Now, when I run:

$ npm run server

A window appears stating that the application compiled successfully in XXXXms. It indicates that the app is running at both the local and network IP addresses.

Upon accessing the local IP in my browser, I can see the ParaView Lite homepage. However, attempts to connect to it fail, resulting in a connection error.

Additionally, the documentation mentions that running $ npm run serve should build a development version inside the ./dist directory. However, there is no dist directory present in my ParaView Lite repository.

Environment

jourdain commented 4 months ago

You forgot to build the code with npm run build

jourdain commented 4 months ago

Also make sure you start the server too.

PierreLouis94 commented 3 months ago

Hello Sebastien, so I forgot to mention that I ran the build but it was still giving me error messages. Downgrading my node.js version to 16 fixed it for me. Before when it didnt worked i used the most actual (v20.15.0). Thank you