# Angular CircleCI build failing: Chrome version must be \>= 65.0.3325.0

**URL:** <https://discuss.circleci.com/t/angular-circleci-build-failing-chrome-version-must-be-65-0-3325-0/22208>\
**Category:** Build Environment\
**Tags:** browsers, chrome\
**Created:** [May 6, 2018, 3:46pm UTC](https://discuss.circleci.com/t/angular-circleci-build-failing-chrome-version-must-be-65-0-3325-0/22208 "2018-05-06T15:46:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![brunopgalvao](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/brunopgalvao/32/13747_2.png) [@brunopgalvao](https://discuss.circleci.com/u/brunopgalvao)\
**Post date:** [May 6, 2018, 3:46pm UTC](https://discuss.circleci.com/t/angular-circleci-build-failing-chrome-version-must-be-65-0-3325-0/22208/1 "2018-05-06T15:46:10Z")

</div>

My builds keep failing with SessionNotCreatedError: session not created exception: Chrome version must be \>= 65.0.3325.0

Here is the config.yml file:

```
version: 2
jobs:
  build:
    working_directory: ~/my_app
    docker:
      - image: circleci/node:8-browsers
    steps:
      - checkout
      - restore_cache:
          key: my_app-{{ .Branch }}-{{ checksum "package.json" }}
      - run: npm install
      - save_cache:
          key: my_app-{{ .Branch }}-{{ checksum "package.json" }}
          paths:
            - "node_modules"
      - run: xvfb-run -a npm run test -- --single-run --no-progress --browser=ChromeNoSandbox
      - run: xvfb-run -a npm run e2e -- --no-progress

```

Here is the failed build:

```
#!/bin/bash -eo pipefail
xvfb-run -a npm run e2e -- --no-progress --config=protractor-ci.conf.js

> my_app@0.0.0 e2e /home/circleci/my_app
> ng e2e "--no-progress" "--config=protractor-ci.conf.js"

**NG Live Development Server is listening on localhost:49152, open your browser on http://localhost:49152/**
Date: 2018-04-20T19:02:30.466Z
Hash: a0f62aecb7c8b4d6ca66
Time: 12616ms
chunk {inline} inline.bundle.js, inline.bundle.js.map (inline) 3.89 kB [entry] [rendered]
chunk {main} main.bundle.js, main.bundle.js.map (main) 9.93 kB [initial] [rendered]
chunk {polyfills} polyfills.bundle.js, polyfills.bundle.js.map (polyfills) 204 kB [initial] [rendered]
chunk {styles} styles.bundle.js, styles.bundle.js.map (styles) 63.5 kB [initial] [rendered]
chunk {vendor} vendor.bundle.js, vendor.bundle.js.map (vendor) 5.4 MB [initial] [rendered]
(node:698) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.

webpack: Compiled successfully.
[19:02:30] I/file_manager - creating folder /home/circleci/my_app/node_modules/protractor/node_modules/webdriver-manager/selenium
[19:02:30] I/update - chromedriver: unzipping chromedriver_2.38.zip
[19:02:30] I/update - chromedriver: setting permissions to 0755 for /home/circleci/my_app/node_modules/protractor/node_modules/webdriver-manager/selenium/chromedriver_2.38
[19:02:31] I/launcher - Running 1 instances of WebDriver
[19:02:31] I/direct - Using ChromeDriver directly...
[19:02:31] E/launcher - session not created exception: Chrome version must be >= 65.0.3325.0
  (Driver info: chromedriver=2.38.551591 (bcc4a2cdef0f6b942b2bb8049068f65340fa2a69),platform=Linux 4.4.0-119-generic x86_64)
[19:02:31] E/launcher - SessionNotCreatedError: session not created exception: Chrome version must be >= 65.0.3325.0
  (Driver info: chromedriver=2.38.551591 (bcc4a2cdef0f6b942b2bb8049068f65340fa2a69),platform=Linux 4.4.0-119-generic x86_64)
    at Object.checkLegacyResponse (/home/circleci/my_app/node_modules/selenium-webdriver/lib/error.js:505:15)
    at parseHttpResponse (/home/circleci/my_app/node_modules/selenium-webdriver/lib/http.js:509:13)
    at doSend.then.response (/home/circleci/my_app/node_modules/selenium-webdriver/lib/http.js:440:13)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
From: Task: WebDriver.createSession()
    at Function.createSession (/home/circleci/my_app/node_modules/selenium-webdriver/lib/webdriver.js:777:24)
    at Function.createSession (/home/circleci/my_app/node_modules/selenium-webdriver/chrome.js:709:29)
    at Direct.getNewDriver (/home/circleci/my_app/node_modules/protractor/lib/driverProviders/direct.ts:90:25)
    at Runner.createBrowser (/home/circleci/my_app/node_modules/protractor/lib/runner.ts:225:39)
    at q.then.then (/home/circleci/my_app/node_modules/protractor/lib/runner.ts:391:27)
    at _fulfilled (/home/circleci/my_app/node_modules/q/q.js:834:54)
    at self.promiseDispatch.done (/home/circleci/my_app/node_modules/q/q.js:863:30)
    at Promise.promise.promiseDispatch (/home/circleci/my_app/node_modules/q/q.js:796:13)
    at /home/circleci/my_app/node_modules/q/q.js:556:49
    at runSingle (/home/circleci/my_app/node_modules/q/q.js:137:13)
    at flush (/home/circleci/my_app/node_modules/q/q.js:125:13)
    at _combinedTickCallback (internal/process/next_tick.js:131:7)
    at process._tickCallback (internal/process/next_tick.js:180:9)
[19:02:31] E/launcher - Process exited with error code 199
npm ERR! code ELIFECYCLE
npm ERR! errno 199
npm ERR! my_app@0.0.0 e2e: `ng e2e "--no-progress" "--config=protractor-ci.conf.js"`
npm ERR! Exit status 199
npm ERR! 
npm ERR! Failed at the my_app@0.0.0 e2e 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! /home/circleci/.npm/_logs/2018-04-20T19_02_31_551Z-debug.log
Exited with code 199
```

---

<div class="post-metadata">

**Author:** ![levlaz](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/levlaz/32/36978_2.png) [@levlaz](https://discuss.circleci.com/u/levlaz)\
**Post date:** [May 6, 2018, 4:17pm UTC](https://discuss.circleci.com/t/angular-circleci-build-failing-chrome-version-must-be-65-0-3325-0/22208/2 "2018-05-06T16:17:48Z")

</div>

The library you are using requires a newer version than the one that is installed on the image you are using.

Our latest node images come with `Google Chrome 64.0.3282.186`

You have two options.

1. Downgrade the library
2. Install a newer version of chrome yourself

---

<div class="post-metadata">

**Author:** ![CharlesSuttie](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/charlessuttie/32/10396_2.png) [@CharlesSuttie](https://discuss.circleci.com/u/CharlesSuttie)\
**Post date:** [May 20, 2018, 10:15am UTC](https://discuss.circleci.com/t/angular-circleci-build-failing-chrome-version-must-be-65-0-3325-0/22208/4 "2018-05-20T10:15:09Z")

</div>

Hi,

I’m not sure whether it will help, but I have put up working configuration using the latest Angular Cli [here](https://github.com/CharlesSuttie/angular-cli-circle). The image it is using is node 8.11.2-browsers and there is a protractor configuration set to use chrome headless.

cheers  
Charlie

---

<div class="post-metadata">

**Author:** ![CharlesSuttie](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/charlessuttie/32/10396_2.png) [@CharlesSuttie](https://discuss.circleci.com/u/CharlesSuttie)\
**Post date:** [August 15, 2018, 12:48pm UTC](https://discuss.circleci.com/t/angular-circleci-build-failing-chrome-version-must-be-65-0-3325-0/22208/5 "2018-08-15T12:48:30Z")

</div>

Hi

By way of update - the angular cli wiki now has a section on this: [here](https://github.com/angular/angular-cli/wiki/stories-continuous-integration#chromedriver)

cheers  
Charlie

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [November 13, 2018, 12:48pm UTC](https://discuss.circleci.com/t/angular-circleci-build-failing-chrome-version-must-be-65-0-3325-0/22208/6 "2018-11-13T12:48:31Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
