Skip to content

Repository graph page does not load using Vite

Overview

Repository graph page does not load (/-/network). An error with the raphael library is raised (eve is not defined).

Screenshot_2024-08-28_at_12.45.37_PM

Disabling Vite and enabling Webpack solves the issue.

Screenshot_2024-08-28_at_1.13.47_PM

Note: This also happened 6 months ago in a self-managed instance: PoC: Repository graph page doesn't load (gitlab#440173 - closed)

Impacted categories

The following categories relate to this issue:

Steps to replicate (optional)

Go to https://<gdk host>:<gdk port>/gitlab-org/<project_name>/-/network

Proposal (optional)

Environment (optional)

  • Operating system name: <!-- output of `uname -a` command -->
  • Architecture: <!-- output of `arch` command -->
  • The contents of your gdk.yml (if any)
  • Ruby version: <!-- output of `ruby --version` command -->
  • GDK version: <!-- output of `git rev-parse --short HEAD` command -->