Error Paraview Web WebPack

I tried to follow instructions in ParaView Web documentations which in here :

But after tried to build the web app I get the following error messages :
0 info it worked if it ends with ok
1 verbose cli [ ‘/home/tjggisapp/.nvm/versions/node/v4.9.1/bin/node’,
1 verbose cli ‘/home/tjggisapp/.nvm/versions/node/v4.9.1/bin/npm’,
1 verbose cli ‘run’,
1 verbose cli ‘build’ ]
2 info using npm@2.15.11
3 info using node@v4.9.1
4 verbose run-script [ ‘prebuild’, ‘build’, ‘postbuild’ ]
5 info prebuild paraviewweb@0.0.0-semantically-release
6 info build paraviewweb@0.0.0-semantically-release
7 verbose unsafe-perm in lifecycle true
8 info paraviewweb@0.0.0-semantically-release Failed to exec build script
9 verbose stack Error: paraviewweb@0.0.0-semantically-release build: webpack --progress --colors --mode development --devtool source-map
9 verbose stack Exit status 1
9 verbose stack at EventEmitter. (/home/tjggisapp/.nvm/versions/node/v4.9.1/lib/node_modules/npm/lib/utils/lifecycle.js:217:16)
9 verbose stack at emitTwo (events.js:87:13)
9 verbose stack at EventEmitter.emit (events.js:172:7)
9 verbose stack at ChildProcess. (/home/tjggisapp/.nvm/versions/node/v4.9.1/lib/node_modules/npm/lib/utils/spawn.js:24:14)
9 verbose stack at emitTwo (events.js:87:13)
9 verbose stack at ChildProcess.emit (events.js:172:7)
9 verbose stack at maybeClose (internal/child_process.js:862:16)
9 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:222:5)
10 verbose pkgid paraviewweb@0.0.0-semantically-release
11 verbose cwd /home/tjggisapp/paraviewweb
12 error Linux 4.15.0-70-generic
13 error argv “/home/tjggisapp/.nvm/versions/node/v4.9.1/bin/node” “/home/tjggisapp/.nvm/versions/node/v4.9.1/bin/npm” “run” “build”
14 error node v4.9.1
15 error npm v2.15.11
16 error code ELIFECYCLE
17 error paraviewweb@0.0.0-semantically-release build: webpack --progress --colors --mode development --devtool source-map
17 error Exit status 1
18 error Failed at the paraviewweb@0.0.0-semantically-release build script ‘webpack --progress --colors --mode development --devtool source-map’.
18 error This is most likely a problem with the paraviewweb package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error webpack --progress --colors --mode development --devtool source-map
18 error You can get information on how to open an issue for this project with:
18 error npm bugs paraviewweb
18 error Or if that isn’t available, you can get their info via:
18 error
18 error npm owner ls paraviewweb
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ]

I tried to install it with Ubuntu Server 18.04 but still get same error. Could any body help me to solve this error?

Thanks for trying it out, but I’m wondering what are you trying to achieve?

  1. Create a web project that depend on ParaViewWeb for its React components?
  2. Deploy a visualization service with ParaView Visualizer/Lite/Flow/Divvy?

Right now, you are following the documentation to do 1).
If you are looking for 2), you can read that guide.