teracyhq / docker-files

Teracy docker-files project to build common Docker images
https://hub.docker.com/r/teracy/
MIT License
92 stars 55 forks source link

Unit test failed in the latest angular-cli docker image #43

Closed junjunruan closed 7 years ago

junjunruan commented 7 years ago

Hi,

The latest angular-cli docker image made my unit test failed, below are errors:

27 09 2017 18:32:53.394:ERROR [karma]: Error: /builds/ultralinq/htmlviewer/node_modules/@angular/core/src/di/reflective_provider.d.ts (87,123): Cannot find name ‘Map’.,/builds/ultralinq/htmlviewer/node_modules/@angular/core/src/di/reflective_provider.d.ts (87,165): Cannot find name ‘Map’.,/builds/ultralinq/htmlviewer/node_modules/rxjs/Observable.d.ts (69,60): Cannot find name ‘Promise’

I switched back to the old version 1.0.0_develop, it works well.

hoatle commented 7 years ago

@junjunruan thank you for your report, we'll check on this soon.

hoatle commented 7 years ago

I checked with angular-cli:1.0.0, it works:

vagrant@teracy:~/workspace$ docker pull teracy/angular-cli:1.0.0
1.0.0: Pulling from teracy/angular-cli
Digest: sha256:6cce966af7473ebf0c4c26a9f304257b6484dc21fce1e58a28ff026cb72acae5
Status: Image is up to date for teracy/angular-cli:1.0.0
vagrant@teracy:~/workspace$ docker container run --rm -it -v $(pwd):/opt -w /opt teracy/angular-cli:1.0.0 /bin/bash
Starting virtual X frame buffer: Xvfb.
Executing command /bin/bash
root@fe43ad3d4aab:/opt# ng --version
    _                      _                 ____ _     ___
   / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
  / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
 / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
/_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
               |___/
@angular/cli: 1.0.0
node: 8.8.1
os: linux x64
root@fe43ad3d4aab:/opt# ng new new-ng2-app --style scss -sg -si
installing ng
  create .editorconfig
  create README.md
  create src/app/app.component.scss
  create src/app/app.component.html
  create src/app/app.component.spec.ts
  create src/app/app.component.ts
  create src/app/app.module.ts
  create src/assets/.gitkeep
  create src/environments/environment.prod.ts
  create src/environments/environment.ts
  create src/favicon.ico
  create src/index.html
  create src/main.ts
  create src/polyfills.ts
  create src/styles.scss
  create src/test.ts
  create src/tsconfig.app.json
  create src/tsconfig.spec.json
  create src/typings.d.ts
  create .angular-cli.json
  create e2e/app.e2e-spec.ts
  create e2e/app.po.ts
  create e2e/tsconfig.e2e.json
  create karma.conf.js
  create package.json
  create protractor.conf.js
  create tsconfig.json
  create tslint.json
Project 'new-ng2-app' successfully created.
root@fe43ad3d4aab:/opt# cd new-ng2-app
root@fe43ad3d4aab:/opt/new-ng2-app# ng set --global packageManager=yarn
root@fe43ad3d4aab:/opt/new-ng2-app# exit
exit
vagrant@teracy:~/workspace$ cd new-ng2-app/
vagrant@teracy:~/workspace/new-ng2-app$ docker container run --name new-ng2-app -it -v $(pwd):/opt/app -w /opt/app -p 4200:4200 teracy/angular-cli:1.0.0 /bin/bash
docker: Error response from daemon: Conflict. The container name "/new-ng2-app" is already in use by container "5329668af5010df505107cfdd1e75cb8040ece4f7ffc212f3d24aa69c7815eff". You have to remove (or rename) that container to be able to reuse that name.
See 'docker run --help'.
vagrant@teracy:~/workspace/new-ng2-app$ docker rm 5329668af5010df505107cfdd1e75cb8040ece4f7ffc212f3d24aa69c7815eff
5329668af5010df505107cfdd1e75cb8040ece4f7ffc212f3d24aa69c7815eff
vagrant@teracy:~/workspace/new-ng2-app$ docker container run --name new-ng2-app -it -v $(pwd):/opt/app -w /opt/app -p 4200:4200 teracy/angular-cli:1.0.0 /bin/bash
Starting virtual X frame buffer: Xvfb.
Executing command /bin/bash
root@d10c293bd86b:/opt/app# yarn
yarn install v1.2.1
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.1.2: The platform "linux" is incompatible with this module.
info "fsevents@1.1.2" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
Done in 68.02s.
root@d10c293bd86b:/opt/app# ng serve --help
ng serve <options...>
  Builds and serves your app, rebuilding on file changes.
  aliases: server, s
  --target (String) (Default: development) Defines the build target.
    aliases: -t <value>, -dev (--target=development), -prod (--target=production), --target <value>
  --environment (String) Defines the build environment.
    aliases: -e <value>, --environment <value>
  --output-path (Path) Path where output will be placed.
    aliases: -op <value>, --outputPath <value>
  --aot (Boolean) Build using Ahead of Time compilation.
    aliases: -aot
  --sourcemaps (Boolean) Output sourcemaps.
    aliases: -sm, --sourcemap, --sourcemaps
  --vendor-chunk (Boolean) (Default: true) Use a separate bundle containing only vendor libraries.
    aliases: -vc, --vendorChunk
  --base-href (String) Base url for the application being built.
    aliases: -bh <value>, --baseHref <value>
  --deploy-url (String) URL where files will be deployed.
    aliases: -d <value>, --deployUrl <value>
  --verbose (Boolean) (Default: false) Adds more details to output logging.
    aliases: -v, --verbose
  --progress (Boolean) (Default: true) Log progress to the console while building.
    aliases: -pr, --progress
  --i18n-file (String) Localization file to use for i18n.
    aliases: --i18nFile <value>
  --i18n-format (String) Format of the localization file specified with --i18n-file.
    aliases: --i18nFormat <value>
  --locale (String) Locale to use for i18n.
    aliases: --locale <value>
  --extract-css (Boolean) Extract css from global styles onto css files instead of js ones.
    aliases: -ec, --extractCss
  --watch (Boolean) (Default: true) Rebuild on change.
    aliases: -w, --watch
  --output-hashing=none|all|media|bundles (String) Define the output filename cache-busting hashing mode.
    aliases: -oh <value>, --outputHashing <value>
  --poll (Number) Enable and define the file watching poll time period (milliseconds).
    aliases: -poll <value>
  --app (String) Specifies app name or index to use.
    aliases: -a <value>, -app <value>
  --port (Number) (Default: 4200) Port to listen to for serving.
    aliases: -p <value>, -port <value>
  --host (String) (Default: localhost) Listens only on localhost by default.
    aliases: -H <value>, -host <value>
  --proxy-config (Path) Proxy configuration file.
    aliases: -pc <value>, --proxyConfig <value>
  --ssl (Boolean) (Default: false) Serve using HTTPS.
    aliases: -ssl
  --ssl-key (String) (Default: ssl/server.key) SSL key to use for serving HTTPS.
    aliases: --sslKey <value>
  --ssl-cert (String) (Default: ssl/server.crt) SSL certificate to use for serving HTTPS.
    aliases: --sslCert <value>
  --open (Boolean) (Default: false) Opens the url in default browser.
    aliases: -o, -open
  --live-reload (Boolean) (Default: true) Whether to reload the page on change, using live-reload.
    aliases: -lr, --liveReload
  --live-reload-client (String) Specify the URL that the live reload browser client will use.
    aliases: --liveReloadClient <value>
  --hmr (Boolean) (Default: false) Enable hot module replacement.
    aliases: -hmr

root@d10c293bd86b:/opt/app# ng serve --host=0.0.0.0          
** NG Live Development Server is running on http://0.0.0.0:4200 **
 94% asset optimizationwebpack: wait until bundle finished: /                           
Hash: 3f350cc17aba9b6874a1
Time: 10294ms
chunk    {0} polyfills.bundle.js, polyfills.bundle.js.map (polyfills) 191 kB {4} [initial] [rendered]
chunk    {1} main.bundle.js, main.bundle.js.map (main) 3.63 kB {3} [initial] [rendered]
chunk    {2} styles.bundle.js, styles.bundle.js.map (styles) 9.89 kB {4} [initial] [rendered]
chunk    {3} vendor.bundle.js, vendor.bundle.js.map (vendor) 2.51 MB [initial] [rendered]
chunk    {4} inline.bundle.js, inline.bundle.js.map (inline) 0 bytes [entry] [rendered]
webpack: Compiled successfully.
webpack: Compiling...
Hash: 3f350cc17aba9b6874a1                                                              
Time: 4951ms
chunk    {0} polyfills.bundle.js, polyfills.bundle.js.map (polyfills) 191 kB {4} [initial]
chunk    {1} main.bundle.js, main.bundle.js.map (main) 3.63 kB {3} [initial]
chunk    {2} styles.bundle.js, styles.bundle.js.map (styles) 9.89 kB {4} [initial]
chunk    {3} vendor.bundle.js, vendor.bundle.js.map (vendor) 2.51 MB [initial]
chunk    {4} inline.bundle.js, inline.bundle.js.map (inline) 0 bytes [entry]
webpack: Compiled successfully.
^C
root@d10c293bd86b:/opt/app# ng test --browsers Chrome_no_sandbox -w false
31 10 2017 01:54:04.650:INFO [karma]: Karma v1.4.1 server started at http://0.0.0.0:9876/
31 10 2017 01:54:04.653:INFO [launcher]: Launching browser Chrome_no_sandbox with unlimited concurrency
31 10 2017 01:54:04.699:INFO [launcher]: Starting browser Chrome
31 10 2017 01:54:06.572:INFO [Chrome 62.0.3202 (Linux 0.0.0)]: Connected on socket NCHHUBMyqWnD5l0eAAAA with id 40446110
Chrome 62.0.3202 (Linux 0.0.0): Executed 3 of 3 SUCCESS (0.158 secs / 0.136 secs)
root@d10c293bd86b:/opt/app# ng e2e
** NG Live Development Server is running on http://localhost:49152 **
(node:246) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
Hash: 40b28d49628764cec805
Time: 8742ms
chunk    {0} polyfills.bundle.js, polyfills.bundle.js.map (polyfills) 191 kB {4} [initial] [rendered]
chunk    {1} main.bundle.js, main.bundle.js.map (main) 3.63 kB {3} [initial] [rendered]
chunk    {2} styles.bundle.js, styles.bundle.js.map (styles) 9.89 kB {4} [initial] [rendered]
chunk    {3} vendor.bundle.js, vendor.bundle.js.map (vendor) 2.51 MB [initial] [rendered]
chunk    {4} inline.bundle.js, inline.bundle.js.map (inline) 0 bytes [entry] [rendered]
webpack: Compiled successfully.
[01:54:24] I/file_manager - creating folder /opt/app/node_modules/webdriver-manager/selenium
[01:54:27] I/update - chromedriver: unzipping chromedriver_2.33.zip
[01:54:27] I/update - chromedriver: setting permissions to 0755 for /opt/app/node_modules/webdriver-manager/selenium/chromedriver_2.33
[01:54:27] I/launcher - Running 1 instances of WebDriver
[01:54:27] I/direct - Using ChromeDriver directly...
Spec started

  new-ng2-app App
    ✓ should display message saying app works

Executed 1 of 1 spec SUCCESS in 0.607 sec.
[01:54:29] I/launcher - 0 instance(s) of WebDriver still running
[01:54:29] I/launcher - chrome #01 passed
root@d10c293bd86b:/opt/app# exit
exit
vagrant@teracy:~/workspace/new-ng2-app$ 
hoatle commented 7 years ago

I checked with angular-cli:1.4.9 (the current latest version) and it works:

vagrant@teracy:~/workspace$ docker image pull teracy/angular-cli:1.4.9
1.4.9: Pulling from teracy/angular-cli
85b1f47fba49: Already exists 
5409e9a7fa9e: Already exists 
661393707836: Already exists 
1bb98c08d57e: Already exists 
f957ac1b6e47: Already exists 
5be1442ac012: Already exists 
46197b940d0b: Already exists 
ed007eda88f4: Already exists 
ccf00c987826: Pull complete 
fda9325c04df: Pull complete 
bacc507da1fa: Pull complete 
87eaa69b6d7e: Pull complete 
ffe0b416e6f6: Pull complete 
Digest: sha256:5e0723e5a1ccacab893b7d8c6e9a48c41c5244a28c3dad23743d810461233ad0
Status: Downloaded newer image for teracy/angular-cli:1.4.9
vagrant@teracy:~/workspace$ docker container run --rm -it -v $(pwd):/opt -w /opt teracy/angular-cli:1.4.9 /bin/bash
Starting virtual X frame buffer: Xvfb.
Executing command /bin/bash
root@bd20adfad825:/opt# ng --version
    _                      _                 ____ _     ___
   / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
  / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
 / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
/_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
               |___/
@angular/cli: 1.4.9
node: 8.8.1
os: linux x64
root@bd20adfad825:/opt# ng new new-ng2-app --style scss -sg -si
  create new-ng2-app/README.md (1025 bytes)
  create new-ng2-app/.angular-cli.json (1290 bytes)
  create new-ng2-app/.editorconfig (245 bytes)
  create new-ng2-app/src/assets/.gitkeep (0 bytes)
  create new-ng2-app/src/environments/environment.prod.ts (51 bytes)
  create new-ng2-app/src/environments/environment.ts (387 bytes)
  create new-ng2-app/src/favicon.ico (5430 bytes)
  create new-ng2-app/src/index.html (296 bytes)
  create new-ng2-app/src/main.ts (370 bytes)
  create new-ng2-app/src/polyfills.ts (2667 bytes)
  create new-ng2-app/src/styles.scss (80 bytes)
  create new-ng2-app/src/test.ts (1085 bytes)
  create new-ng2-app/src/tsconfig.app.json (211 bytes)
  create new-ng2-app/src/tsconfig.spec.json (304 bytes)
  create new-ng2-app/src/typings.d.ts (104 bytes)
  create new-ng2-app/e2e/app.e2e-spec.ts (293 bytes)
  create new-ng2-app/e2e/app.po.ts (208 bytes)
  create new-ng2-app/e2e/tsconfig.e2e.json (235 bytes)
  create new-ng2-app/karma.conf.js (923 bytes)
  create new-ng2-app/package.json (1316 bytes)
  create new-ng2-app/protractor.conf.js (722 bytes)
  create new-ng2-app/tsconfig.json (363 bytes)
  create new-ng2-app/tslint.json (2985 bytes)
  create new-ng2-app/src/app/app.module.ts (314 bytes)
  create new-ng2-app/src/app/app.component.scss (0 bytes)
  create new-ng2-app/src/app/app.component.html (1120 bytes)
  create new-ng2-app/src/app/app.component.spec.ts (986 bytes)
  create new-ng2-app/src/app/app.component.ts (208 bytes)
Project 'new-ng2-app' successfully created.
root@bd20adfad825:/opt# cd new-ng2-app
root@bd20adfad825:/opt/new-ng2-app# ng set --global packageManager=yarn
root@bd20adfad825:/opt/new-ng2-app#  
Display all 956 possibilities? (y or n)
root@bd20adfad825:/opt/new-ng2-app# exit
exit
vagrant@teracy:~/workspace$ cd new-ng2-app/
vagrant@teracy:~/workspace/new-ng2-app$ docker container run --name new-ng2-app -it -v $(pwd):/opt/app -w /opt/app -p 4200:4200 teracy/angular-cli:1.4.9 /bin/bash
docker: Error response from daemon: Conflict. The container name "/new-ng2-app" is already in use by container "d10c293bd86b836bb43810ed9a9110dc0f96647266b9d1988df1336042cd0d64". You have to remove (or rename) that container to be able to reuse that name.
See 'docker run --help'.
vagrant@teracy:~/workspace/new-ng2-app$ docker rm d10c293bd86b836bb43810ed9a9110dc0f96647266b9d1988df1336042cd0d64
d10c293bd86b836bb43810ed9a9110dc0f96647266b9d1988df1336042cd0d64
vagrant@teracy:~/workspace/new-ng2-app$ docker container run --name new-ng2-app -it -v $(pwd):/opt/app -w /opt/app -p 4200:4200 teracy/angular-cli:1.4.9 /bin/bash
Starting virtual X frame buffer: Xvfb.
Executing command /bin/bash
root@0a781a0468a5:/opt/app# yarn
yarn install v1.2.1
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.1.2: The platform "linux" is incompatible with this module.
info "fsevents@1.1.2" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
Done in 85.46s.
root@0a781a0468a5:/opt/app# ng serve --help 
ng serve <options...>
  Builds and serves your app, rebuilding on file changes.
  aliases: server, s
  --target (String) (Default: development) Defines the build target.
    aliases: -t <value>, -dev (--target=development), -prod (--target=production), --target <value>
  --environment (String) Defines the build environment.
    aliases: -e <value>, --environment <value>
  --output-path (Path) Path where output will be placed.
    aliases: -op <value>, --outputPath <value>
  --aot (Boolean) Build using Ahead of Time compilation.
    aliases: -aot
  --sourcemaps (Boolean) Output sourcemaps.
    aliases: -sm, --sourcemap, --sourcemaps
  --vendor-chunk (Boolean) Use a separate bundle containing only vendor libraries.
    aliases: -vc, --vendorChunk
  --common-chunk (Boolean) (Default: true) Use a separate bundle containing code used across multiple bundles.
    aliases: -cc, --commonChunk
  --base-href (String) Base url for the application being built.
    aliases: -bh <value>, --baseHref <value>
  --deploy-url (String) URL where files will be deployed.
    aliases: -d <value>, --deployUrl <value>
  --verbose (Boolean) (Default: false) Adds more details to output logging.
    aliases: -v, --verbose
  --progress (Boolean) (Default: true) Log progress to the console while building.
    aliases: -pr, --progress
  --i18n-file (String) Localization file to use for i18n.
    aliases: --i18nFile <value>
  --i18n-format (String) Format of the localization file specified with --i18n-file.
    aliases: --i18nFormat <value>
  --locale (String) Locale to use for i18n.
    aliases: --locale <value>
  --missing-translation (String) How to handle missing translations for i18n.
    aliases: --missingTranslation <value>
  --extract-css (Boolean) Extract css from global styles onto css files instead of js ones.
    aliases: -ec, --extractCss
  --watch (Boolean) (Default: true) Rebuild on change.
    aliases: -w, --watch
  --output-hashing=none|all|media|bundles (String) Define the output filename cache-busting hashing mode.
    aliases: -oh <value>, --outputHashing <value>
  --poll (Number) Enable and define the file watching poll time period (milliseconds).
    aliases: -poll <value>
  --app (String) Specifies app name or index to use.
    aliases: -a <value>, -app <value>
  --delete-output-path (Boolean) (Default: true) Delete output path before build.
    aliases: -dop, --deleteOutputPath
  --preserve-symlinks (Boolean) (Default: false) Do not use the real path when resolving modules.
    aliases: --preserveSymlinks
  --extract-licenses (Boolean) (Default: true) Extract all licenses in a separate file, in the case of production builds only.
    aliases: --extractLicenses
  --show-circular-dependencies (Boolean) (Default: true) Show circular dependency warnings on builds.
    aliases: -scd, --showCircularDependencies
  --build-optimizer (Boolean) (Default: false) (Experimental) Enables @angular-devkit/build-optimizer optimizations when using `--aot`.
    aliases: --buildOptimizer
  --named-chunks (Boolean) Use file name for lazy loaded chunks.
    aliases: -nc, --namedChunks
  --port (Number) (Default: 4200) Port to listen to for serving.
    aliases: -p <value>, -port <value>
  --host (String) (Default: localhost) Listens only on localhost by default.
    aliases: -H <value>, -host <value>
  --proxy-config (Path) Proxy configuration file.
    aliases: -pc <value>, --proxyConfig <value>
  --ssl (Boolean) (Default: false) Serve using HTTPS.
    aliases: -ssl
  --ssl-key (String) (Default: ssl/server.key) SSL key to use for serving HTTPS.
    aliases: --sslKey <value>
  --ssl-cert (String) (Default: ssl/server.crt) SSL certificate to use for serving HTTPS.
    aliases: --sslCert <value>
  --open (Boolean) (Default: false) Opens the url in default browser.
    aliases: -o, -open
  --live-reload (Boolean) (Default: true) Whether to reload the page on change, using live-reload.
    aliases: -lr, --liveReload
  --public-host (String) Specify the URL that the browser client will use.
    aliases: --live-reload-client <value>, --publicHost <value>
  --disable-host-check (Boolean) (Default: false) Don't verify connected clients are part of allowed hosts.
    aliases: --disableHostCheck
  --serve-path (String) The pathname where the app will be served.
    aliases: --servePath <value>
  --hmr (Boolean) (Default: false) Enable hot module replacement.
    aliases: -hmr

root@0a781a0468a5:/opt/app# ng serve --host=0.0.0.0 --public-host teracy.dev:4200
** NG Live Development Server is listening on 0.0.0.0:4200, open your browser on http://localhost:4200/ **
 94% asset optimizationwebpack: wait until bundle finished: /                           
Date: 2017-10-31T02:38:14.487Z
Hash: fe9f651f55472c8f26a9
Time: 10783ms
chunk {inline} inline.bundle.js, inline.bundle.js.map (inline) 5.83 kB [entry] [rendered]
chunk {main} main.bundle.js, main.bundle.js.map (main) 8.65 kB {vendor} [initial] [rendered]
chunk {polyfills} polyfills.bundle.js, polyfills.bundle.js.map (polyfills) 199 kB {inline} [initial] [rendered]
chunk {styles} styles.bundle.js, styles.bundle.js.map (styles) 11.6 kB {inline} [initial] [rendered]
chunk {vendor} vendor.bundle.js, vendor.bundle.js.map (vendor) 2.32 MB [initial] [rendered]

webpack: Compiled successfully.
webpack: Compiling...
Date: 2017-10-31T02:39:09.755Z                                                          
Hash: 99630cf8bfc6d653a882
Time: 5386ms
chunk {inline} inline.bundle.js, inline.bundle.js.map (inline) 5.83 kB [entry]
chunk {main} main.bundle.js, main.bundle.js.map (main) 8.65 kB {vendor} [initial]
chunk {polyfills} polyfills.bundle.js, polyfills.bundle.js.map (polyfills) 199 kB {inline} [initial]
chunk {styles} styles.bundle.js, styles.bundle.js.map (styles) 11.6 kB {inline} [initial]
chunk {vendor} vendor.bundle.js, vendor.bundle.js.map (vendor) 2.32 MB [initial]

webpack: Compiled successfully.
webpack: Compiling...
Date: 2017-10-31T02:39:10.261Z                                                     
Hash: fe9f651f55472c8f26a9
Time: 199ms
chunk {inline} inline.bundle.js, inline.bundle.js.map (inline) 5.83 kB [entry]
chunk {main} main.bundle.js, main.bundle.js.map (main) 8.65 kB {vendor} [initial]
chunk {polyfills} polyfills.bundle.js, polyfills.bundle.js.map (polyfills) 199 kB {inline} [initial]
chunk {styles} styles.bundle.js, styles.bundle.js.map (styles) 11.6 kB {inline} [initial]
chunk {vendor} vendor.bundle.js, vendor.bundle.js.map (vendor) 2.32 MB [initial]

webpack: Compiled successfully.
^C
root@0a781a0468a5:/opt/app# ng test --browsers Chrome_no_sandbox -w false
 10% building modules 1/1 modules 0 active31 10 2017 02:39:49.765:INFO [karma]: Karma v1.7.1 server started at http://0.0.0.0:9876/
31 10 2017 02:39:49.767:INFO [launcher]: Launching browser Chrome_no_sandbox with unlimited concurrency
31 10 2017 02:39:49.790:INFO [launcher]: Starting browser Chrome
31 10 2017 02:39:58.139:INFO [Chrome 62.0.3202 (Linux 0.0.0)]: Connected on socket srQtZWi79cKM2jWZAAAA with id 31897833
Chrome 62.0.3202 (Linux 0.0.0): Executed 3 of 3 SUCCESS (0.192 secs / 0.177 secs)
root@0a781a0468a5:/opt/app# ng e2e
** NG Live Development Server is listening on localhost:49152, open your browser on http://localhost:49152/ **
Date: 2017-10-31T02:40:16.837Z                                                          
Hash: 48460d1c6d5a2b97f78a
Time: 9897ms
chunk {inline} inline.bundle.js, inline.bundle.js.map (inline) 5.83 kB [entry] [rendered]
chunk {main} main.bundle.js, main.bundle.js.map (main) 2.33 MB {inline} [initial] [rendered]
chunk {polyfills} polyfills.bundle.js, polyfills.bundle.js.map (polyfills) 199 kB {inline} [initial] [rendered]
chunk {styles} styles.bundle.js, styles.bundle.js.map (styles) 11.6 kB {inline} [initial] [rendered]
(node:255) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.

webpack: Compiled successfully.
[02:40:16] I/file_manager - creating folder /opt/app/node_modules/webdriver-manager/selenium
[02:40:19] I/update - chromedriver: unzipping chromedriver_2.33.zip
[02:40:19] I/update - chromedriver: setting permissions to 0755 for /opt/app/node_modules/webdriver-manager/selenium/chromedriver_2.33
[02:40:19] I/launcher - Running 1 instances of WebDriver
[02:40:19] I/direct - Using ChromeDriver directly...
Jasmine started

  new-ng2-app App
    ✓ should display welcome message

Executed 1 of 1 spec SUCCESS in 0.668 sec.
[02:40:22] I/launcher - 0 instance(s) of WebDriver still running
[02:40:22] I/launcher - chrome #01 passed
root@0a781a0468a5:/opt/app# exit
exit
vagrant@teracy:~/workspace/new-ng2-app$ 

Please use the latest tagged version. I'm closing for now, feel free to reopen if you still get the problem. Thanks.