# Impossible to install chrome

**URL:** <https://discuss.circleci.com/t/impossible-to-install-chrome/51759>\
**Category:** Build Environment\
**Tags:** nodejs, docker\
**Created:** [August 22, 2024, 9:19pm UTC](https://discuss.circleci.com/t/impossible-to-install-chrome/51759 "2024-08-22T21:19:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JSmith](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/jsmith/32/31024_2.png) [@JSmith](https://discuss.circleci.com/u/JSmith)\
**Post date:** [August 22, 2024, 9:19pm UTC](https://discuss.circleci.com/t/impossible-to-install-chrome/51759/1 "2024-08-22T21:19:53Z")

</div>

I’m not able to install basic configuration for my angular app, I’ve tried bunch of things I fund on the net and it gave me more errors

here is my config.yml

```auto
version: 2.1
orbs:
  browser-tools: circleci/browser-tools@1.4.8
jobs:
  build:
    working_directory: ~/ng-project
    docker:
      - image: cimg/node:18.19.0-browsers
    steps:
      - browser-tools/install-chrome
      - browser-tools/install-chromedriver
      - run:
          command: |
            google-chrome --version:
            chromedriver --version
          name: Check install
      - checkout
      - restore_cache:
          key: ng-project-{{ .Branch }}-{{ checksum "package-lock.json" }}
      - run: npm install
      - save_cache:
          key: ng-project-{{ .Branch }}-{{ checksum "package-lock.json" }}
          paths:
            - "node_modules"
      - run: npm run test

```

Here is what I get

> : Unknown address type (examples of valid types are “tcp” and on UNIX “unix”)  
> [1213:1239:0822/211648.784721:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are “tcp” and on UNIX “unix”)  
> [1213:1239:0822/211648.784732:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are “tcp” and on UNIX “unix”)  
> [1213:1239:0822/211648.784742:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are “tcp” and on UNIX “unix”)  
> [1213:1239:0822/211648.811689:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are “tcp” and on UNIX “unix”)  
> [1213:1239:0822/211648.811711:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are “tcp” and on UNIX “unix”)  
> [1213:1291:0822/211648.838937:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system\_bus\_socket: No such file or directory  
> [1213:1291:0822/211648.838964:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system\_bus\_socket: No such file or directory  
> [1213:1291:0822/211648.838995:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system\_bus\_socket: No such file or directory  
> [1213:1291:0822/211648.839014:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system\_bus\_socket: No such file or directory  
> [1213:1291:0822/211648.839030:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system\_bus\_socket: No such file or directory  
> [1253:1253:0822/211648.930557:ERROR:viz\_main\_impl.cc(166)] Exiting GPU process due to errors during initialization

Any help is greatly appreciated

---

<div class="post-metadata">

**Author:** ![halfer](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/halfer/32/9083_2.png) [@halfer](https://discuss.circleci.com/u/halfer)\
**Post date:** [August 31, 2024, 1:02am UTC](https://discuss.circleci.com/t/impossible-to-install-chrome/51759/2 "2024-08-31T01:02:07Z")

</div>

Hi there. Would you add code formatting to your YAML, so that folks can read it?

---

<div class="post-metadata">

**Author:** ![JSmith](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/jsmith/32/31024_2.png) [@JSmith](https://discuss.circleci.com/u/JSmith)\
**Post date:** [August 31, 2024, 2:03pm UTC](https://discuss.circleci.com/t/impossible-to-install-chrome/51759/3 "2024-08-31T14:03:16Z")

</div>

@halfer sorry this is done

---

<div class="post-metadata">

**Author:** ![halfer](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/halfer/32/9083_2.png) [@halfer](https://discuss.circleci.com/u/halfer)\
**Post date:** [September 3, 2024, 10:36pm UTC](https://discuss.circleci.com/t/impossible-to-install-chrome/51759/4 "2024-09-03T22:36:10Z")

</div>

Thanks.

I should think that Chrome would run better in a build machine rather than a build container. I pull `selenium/standalone-firefox` in a machine and then run it in Docker Compose, and it is nearly excellent (I get occasional OOM crashes, but they are probably fixable).

The nice thing with my approach is it can be gotten working locally first, and issues are largely down to Docker/Selenium rather than CircleCI, which is obviously harder to debug.
