Repository: Cloud-CV/EvalAI
Issue: Cannot start PhantomJS
Root cause: Environment Incompatibility

If I am trying to run the nodejs container, then it shows me the error that `Cannot start PhantomJS`. Please see the below error log for full details:

```
(env)
deshraj at lawn-128-61-35-111 in ~/Documents/evalai on master [!?$]
$ docker-compose up nodejs
Recreating nodejs ... done
Attaching to nodejs
nodejs               | [00:43:48] Using gulpfile /code/gulpfile.js
nodejs               | [00:43:48] Starting 'dev:runserver'...
nodejs               | [00:43:48] Starting 'dev'...
nodejs               | [00:43:48] Starting 'clean'...
nodejs               | [00:43:48] Finished 'clean' after 220 ms
nodejs               | [00:43:48] Starting 'css'...
nodejs               | [00:43:48] Starting 'js'...
nodejs               | [00:43:48] Starting 'html'...
nodejs               | [00:43:48] Starting 'images'...
nodejs               | [00:43:49] Starting 'vendorjs'...
nodejs               | [00:43:49] Finished 'vendorjs' after 23 ms
nodejs               | [00:43:49] Starting 'vendorcss'...
nodejs               | [00:43:49] Finished 'vendorcss' after 4.24 ms
nodejs               | [00:43:49] Starting 'fonts'...
nodejs               | [00:43:49] Starting 'configDev'...
nodejs               | [00:43:49] Finished 'configDev' after 1.99 ms
nodejs               | [00:43:49] Finished 'css' after 1.05 s
nodejs               | [00:43:49] Finished 'js' after 1.07 s
nodejs               | [00:43:50] Finished 'fonts' after 847 ms
nodejs               | [00:43:50] Finished 'images' after 1.3 s
nodejs               | [00:43:50] Finished 'html' after 1.37 s
nodejs               | [00:43:50] Starting 'inject'...
nodejs               | [00:43:50] Finished 'inject' after 4.61 ms
nodejs               | [00:43:50] Finished 'dev' after 1.63 s
nodejs               | [00:43:50] Starting 'lint'...
nodejs               | [00:43:50] gulp-inject 11 files into base.html.
nodejs               | [00:43:51] Finished 'lint' after 1.32 s
nodejs               | [00:43:51] Starting 'connect'...
nodejs               | [00:43:51] Starting server...
nodejs               | [00:43:51] Finished 'connect' after 4.3 ms
nodejs               | [00:43:51] Starting 'watch'...

nodejs               | [00:43:58] Finished 'watch' after 6.96 s
nodejs               | [00:43:58] Starting 'test:watch'...
nodejs               | [00:43:58] Server started http://0.0.0.0:8888
nodejs               | [00:43:58] Running server
nodejs               | 24 04 2018 00:43:59.460:WARN [karma]: No captured browser, open http://localhost:9876/
nodejs               | 24 04 2018 00:43:59.480:INFO [karma]: Karma v2.0.0 server started at http://0.0.0.0:9876/
nodejs               | 24 04 2018 00:43:59.482:INFO [launcher]: Launching browser PhantomJS with unlimited concurrency
nodejs               | 24 04 2018 00:43:59.492:INFO [launcher]: Starting browser PhantomJS
nodejs               | 24 04 2018 00:43:59.522:ERROR [phantomjs.launcher]: /code/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: 1: /code/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: Syntax error: Unterminated quoted string
nodejs               |
nodejs               | 24 04 2018 00:43:59.525:ERROR [launcher]: Cannot start PhantomJS
nodejs               | 	/code/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: 1: /code/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: Syntax error: Unterminated quoted string
nodejs               |
nodejs               | 24 04 2018 00:43:59.525:ERROR [launcher]: PhantomJS stdout:
nodejs               | 24 04 2018 00:43:59.525:ERROR [launcher]: PhantomJS stderr: /code/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: 1: /code/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: Syntax error: Unterminated quoted string
nodejs               |
nodejs               | 24 04 2018 00:44:00.075:INFO [launcher]: Trying to start PhantomJS again (1/2).
nodejs               | 24 04 2018 00:44:00.099:ERROR [phantomjs.launcher]: /code/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: 1: /code/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: Syntax error: Unterminated quoted string
nodejs               |
nodejs               | 24 04 2018 00:44:00.100:ERROR [launcher]: Cannot start PhantomJS
nodejs               | 	/code/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: 1: /code/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: Syntax error: Unterminated quoted string
nodejs               |
nodejs               | 24 04 2018 00:44:00.100:ERROR [launcher]: PhantomJS stdout:
nodejs               | 24 04 2018 00:44:00.101:ERROR [launcher]: PhantomJS stderr: /code/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: 1: /code/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: Syntax error: Unterminated quoted string
nodejs               |
nodejs               | 24 04 2018 00:44:00.607:INFO [launcher]: Trying to start PhantomJS again (2/2).
nodejs               | 24 04 2018 00:44:00.626:ERROR [phantomjs.launcher]: /code/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: 1: /code/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs:
nodejs               | 24 04 2018 00:44:00.627:ERROR [phantomjs.launcher]: Syntax error: Unterminated quoted string
nodejs               | 24 04 2018 00:44:00.627:ERROR [phantomjs.launcher]:
nodejs               |
nodejs               | 24 04 2018 00:44:00.628:ERROR [launcher]: Cannot start PhantomJS
nodejs               | 	/code/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: 1: /code/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: Syntax error: Unterminated quoted string
nodejs               |
nodejs               | 24 04 2018 00:44:00.628:ERROR [launcher]: PhantomJS stdout:
nodejs               | 24 04 2018 00:44:00.628:ERROR [launcher]: PhantomJS stderr: /code/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: 1: /code/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: Syntax error: Unterminated quoted string
nodejs               |
nodejs               | 24 04 2018 00:44:01.064:ERROR [launcher]: PhantomJS failed 2 times (cannot start). Giving up.
```

Sorry, my bad. Invalid issue. Closing it.