CDAT / vcs-js

3 stars 3 forks source link

Install is broken #62

Open sterlingbaldwin opened 5 years ago

sterlingbaldwin commented 5 years ago

Although there are no install steps listed in the readme, I assume that doing a python setup.py install will install the python modules. Running this command in a fresh environment yealds the following results:

$ python setup.py install

> vcs-js@0.1.0 build /Users/baldwin32/projects/vcs-js
> webpack --progress --colors

Hash: 4fc3424ffa2886e70e2c
Version: webpack 3.10.0
Time: 13400ms
     Asset     Size  Chunks                    Chunk Names
    vcs.js  2.84 MB       0  [emitted]  [big]  main
vcs.js.map   3.4 MB       0  [emitted]         main
   [1] (webpack)/buildin/global.js 509 bytes {0} [built]
  [12] ./src/index.js 10.6 kB {0} [built]
  [13] ./src/RemoteRenderer.js 1.78 kB {0} [built]
  [14] ./src/vtkweb/index.js 7.25 kB {0} [built]
  [15] ./src/plotly/index.js 2.02 kB {0} [built]
  [16] ./src/plotly/isofill.js 1.25 kB {0} [built]
  [26] ./src/cdms/index.js 4.11 kB {0} [built]
  [48] ./src/config.js 131 bytes {0} [built]
    + 41 hidden modules

ERROR in ./src/RemoteRenderer.js
Module not found: Error: Can't resolve 'ParaViewWeb/Common/Misc/SizeHelper' in '/Users/baldwin32/projects/vcs-js/src'
 @ ./src/RemoteRenderer.js 17:18-63
 @ ./src/index.js

ERROR in ./src/vtkweb/index.js
Module not found: Error: Can't resolve 'ParaViewWeb/Common/Misc/SizeHelper' in '/Users/baldwin32/projects/vcs-js/src/vtkweb'
 @ ./src/vtkweb/index.js 14:18-63
 @ ./src/index.js

ERROR in ./src/RemoteRenderer.js
Module not found: Error: Can't resolve 'ParaViewWeb/IO/WebSocket/ParaViewWebClient' in '/Users/baldwin32/projects/vcs-js/src'
 @ ./src/RemoteRenderer.js 11:25-78
 @ ./src/index.js

ERROR in ./src/vtkweb/index.js
Module not found: Error: Can't resolve 'ParaViewWeb/IO/WebSocket/ParaViewWebClient' in '/Users/baldwin32/projects/vcs-js/src/vtkweb'
 @ ./src/vtkweb/index.js 22:25-78
 @ ./src/index.js

ERROR in ./src/RemoteRenderer.js
Module not found: Error: Can't resolve 'ParaViewWeb/NativeUI/Canvas/RemoteRenderer' in '/Users/baldwin32/projects/vcs-js/src'
 @ ./src/RemoteRenderer.js 13:22-75
 @ ./src/index.js

ERROR in ./src/vtkweb/index.js
Module not found: Error: Can't resolve 'ParaViewWeb/NativeUI/Canvas/RemoteRenderer' in '/Users/baldwin32/projects/vcs-js/src/vtkweb'
 @ ./src/vtkweb/index.js 10:22-75
 @ ./src/index.js

ERROR in ./src/RemoteRenderer.js
Module not found: Error: Can't resolve 'wslink/src/SmartConnect' in '/Users/baldwin32/projects/vcs-js/src'
 @ ./src/RemoteRenderer.js 7:20-54
 @ ./src/index.js

ERROR in ./src/vtkweb/index.js
Module not found: Error: Can't resolve 'wslink/src/SmartConnect' in '/Users/baldwin32/projects/vcs-js/src/vtkweb'
 @ ./src/vtkweb/index.js 18:20-54
 @ ./src/index.js
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! vcs-js@0.1.0 build: `webpack --progress --colors`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the vcs-js@0.1.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/baldwin32/.npm/_logs/2018-09-19T00_47_40_563Z-debug.log
Traceback (most recent call last):
  File "setup.py", line 8, in <module>
    subprocess.check_call("npm run build", shell=True)
  File "/Users/baldwin32/anaconda2/lib/python2.7/subprocess.py", line 541, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'npm run build' returned non-zero exit status 2
doutriaux1 commented 5 years ago

@sterlingbaldwin there are a few helps in the README but the install/test are ran as foolowed in here: https://github.com/CDAT/vcs-js/blob/master/.travis.yml