Installing ParaViewWeb
Hello all,
I am trying to install ParaViewWeb on my linux virtual machine. I followed the steps mentioned here (https://kitware.github.io/paraviewweb/docs/setup.html). My node version is v8.10.0 and npm is 6.2.0. I installed Git using sudo apt-get install git-core successfully. Now, the issue is:
- When I tried to install paraviewweb using npm install paraviewweb --save it shows this npm warnings. Please refer the snippet below for more details.
- I successfully cloned github repository using the command git clone https://github.com/kitware/paraviewweb.git. While following the next command npm install, console shows errors. Please refer the snapshot below.
I have tried installing paraviewweb in home directory and in the root directory as well. I am not getting an idea of what's going wrong.
Can anybody help me find the cause and fixing it?
Thank you in advance!!!
Regards, Sagar
What is your goal by installing the ParaViewWeb library?
This is a JavaScript library meant to be used inside a JavaScript project. Based on the error message, you don't have a JavaScript project.
So I'm thinking your goal might be different. Could you explain them?
Hi Sebastien, Thank you for looking into my problem. Basically I am trying to set up Multi-user environment as mentioned here (https://kitware.github.io/paraviewweb/docs/multi_user_setup.html). For this I need three components.
- Apache as a front-end,
- Python as a launcher and
- ParaViewWeb I already have configured Apache server, and now I want to configure Python launcher. For this I am following this tutorial (https://kitware.github.io/paraviewweb/docs/python_launcher.html), in which it has mentioned to execute the following command.
I am unable to locate this ParaView directory. (I assumed this directory might be the one which has ParaView application, which is downloaded from https://www.paraview.org/download/), but it doesn't contains the exact same directories as mentioned in the above snapshot. Also, where to store the launcher.config file which is mentioned on this page (https://kitware.github.io/paraviewweb/docs/python_launcher.html).
Please guide me for creating the multi-user setup. Your reply would be very helpful.
Regards, Sagar
For 2 and 3, you just need the latest release of ParaView which includes the ParaView Web application like Visualizer
For the launcher.config, it needs to be on the machine that is going to start the ParaView process.
This guide illustrate how to do it end-to-end with probably a couple of command outdated but the ideas are there...
npm ERR! Linux 4.15.0-30-generic npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start" npm ERR! node v4.2.6 npm ERR! npm v3.5.2
npm ERR! missing script: start npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! https://github.com/npm/npm/issues
npm ERR! Please include the following file with any support request: npm ERR! /home/litao/paraviewweb/npm-debug.log
The library ParaViewWeb does not have a start script. I'm not sure to understand what you were trying to do?