Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

[Bug] linkis-web-next build fails: router imports a non-existent file src/pages/ECMManagement/engine.vue

Abierto Apto para principiantes
#5,492 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
65/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
typescript, vite
Área
frontend

Línea de trabajo

Lee linkis-web-next/src/router/index.ts e inspecciona linkis-web-next/src/pages/ECMManagement/, que según el issue contiene index.vue y modal.vue, pero no engine.vue. Ejecuta npx vite build en linkis-web-next para reproducir el import que falta. El issue sugiere añadir la página que falta para que funcione la ruta, o eliminar la ruta si no está prevista; se considera terminado cuando el cambio elegido resuelve el fallo de compilación.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

bug dependencies
Search before asking
  • I searched the issues and found no similar issues.
Linkis Component

linkis-web

Steps to reproduce

cd linkis-web-next
npm install
npx vite build

Expected behavior

The production build of linkis-web-next fails out of the box because the router references a Vue page that does not exist anywhere in the repository.

linkis-web-next/src/router/index.ts declares the route /console/ECMManagement/engines/:instance with a lazy import of @/pages/ECMManagement/engine.vue, but the file linkis-web-next/src/pages/ECMManagement/engine.vue was never committed. The directory only contains index.vue and modal.vue.

The defect exists both in the release-1.8.0 tag and in the current master branch.

Your environment

Linkis version: 1.8.0 (tag release-1.8.0, commit e2909eaf); also reproduced on master
OS: Windows 10 22H2 (platform-independent issue)
Node.js: 18.20.4, Vite: 6.2.4

Anything else

vite v6.2.4 building for production...
transforming...
✓ 192 modules transformed.
✗ Build failed in 3.08s
error during build:
[vite:load-fallback] Could not load D:...\linkis-web-next\src/pages/ECMManagement/engine.vue
(imported by src/router/index.ts):
ENOENT: no such file or directory, open '...\linkis-web-next\src\pages\ECMManagement\engine.vue'

Root cause
linkis-web-next/src/router/index.ts (around line 116):

{
name: 'Engines',
path: '/console/ECMManagement/engines/:instance',
component: () => import('@/pages/ECMManagement/engine.vue'),
meta: {
title: 'ECM Engines',
publicPage: true,
},
},

linkis-web-next/src/pages/ECMManagement/ on master / release-1.8.0 contains only:

index.vue
modal.vue

Expected behavior
npx vite build (and npm run build) should complete successfully in a clean checkout.

Suggested fix (two options)
Add the missing engine.vue page (recommended — keeps the /console/ECMManagement/engines/:instance route functional). A minimal placeholder page is enough to restore the build and can be polished later. PR will follow.
Alternatively, remove the dead route from the router if the page is not planned.
I will submit a PR implementing option 1 shortly.

Are you willing to submit a PR?
  • Yes I am willing to submit a PR!
Lenguaje dominante
Java
Estrellas
3.4k
Forks
1.2k
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de apache/linkis

Todos los issues de apache/linkis

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.