Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrome_no_sandbox not registered in pipeline #80

Open
OfficialVreesie opened this issue Mar 26, 2023 · 0 comments
Open

Chrome_no_sandbox not registered in pipeline #80

OfficialVreesie opened this issue Mar 26, 2023 · 0 comments

Comments

@OfficialVreesie
Copy link

OfficialVreesie commented Mar 26, 2023

In my GitLab pipeline, I have setup the test job as follows:

test:
  image: teracy/angular-cli:latest
  stage: testing
  script:    
    - npm install
    - ng test --browsers Chrome_no_sandbox --watch=false --code-coverage
  cache:
    key:
      files:
        - package-lock.jsonnode
    paths:
      - node_modules
    policy: pull
  only:
    - tags

Now when I run this pipeline, The ng test command fails with the output:

$ ng test --browsers Chrome_no_sandbox --watch=false --code-coverage
Your global Angular CLI version (15.2.4) is greater than your local version (15.1.6). The local Angular CLI version is used.
To disable this warning use "ng config -g cli.warnings.versionMismatch false".
- Generating browser application bundles (phase: setup)...
✔ Browser application bundle generation complete.
26 03 2023 13:17:18.838:INFO [karma-server]: Karma v6.4.1 server started at http://localhost:9876/
26 03 2023 13:17:18.841:INFO [launcher]: Launching browsers Chrome_no_sandbox with concurrency unlimited
26 03 2023 13:17:18.842:ERROR [launcher]: Cannot load browser "Chrome_no_sandbox": it is not registered! Perhaps you are missing some plugin?
26 03 2023 13:17:18.842:ERROR [karma-server]: Error: Found 1 load error
    at Server.<anonymous> (/builds/oCf3nwxa/0/[MASKED]/web-app/node_modules/karma/lib/server.js:243:26)
    at Object.onceWrapper (events.js:519:28)
    at Server.emit (events.js:412:35)
    at emitListeningNT (net.js:1365:10)
    at processTicksAndRejections (internal/process/task_queues.js:[81](https://gitlab.argoplan.nl/clients/ru6gp1zjn9/argoplan/web-app/-/jobs/596#L81):21)
✔ Browser application bundle generation complete.
✔ Browser application bundle generation complete.
Cleaning up project directory and file based variables
00:00
ERROR: Job failed: command terminated with exit code 1

Why does it say that my "Chrome_no_sandbox" is not registered?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant