Compilation ignores tsconfig.json

Abierto
#164 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
typescript
Área
build-system, cli

Línea de trabajo

Start by tracing the rc-apps package command and how it reads tsconfig.json. Reproduce the Windows missing src/CloudflareZeroTrustApp.ts error and the WSL working-directory error, then verify packaging resolves the configured TypeScript source and handles the reported directory correctly across both environments.

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

Descripción

I'm currently trying to build an app via the rc-apps package command.

I've tried on my windows machine and receive the following error

packaging your app... !
Error: Invalid App package. Could not find the classFile (src/CloudflareZeroTrustApp.ts) file.

I've also attempted to run the same command under WSL and it seems to get further but also fails with

rc-apps package
2025-05-02 11:02:23.288 WARN App has external module(s) as dependency
(node:7522) [DEP0044] DeprecationWarning: The util.isArray API is deprecated. Please use Array.isArray() instead.
(Use node --trace-deprecation ... to show where the warning was created)
(node:7522) [DEP0047] DeprecationWarning: The util.isDate API is deprecated. Please use arg instanceof Date instead.
packaging your app... ⣻

error: The working directory "/home/ben/cloudflare-zero-trust-app" is not an absolute path
packaging your app... !
Error: Build failed with 1 error:
error: The working directory "/home/ben/cloudflare-zero-trust-app" is not an absolute path

Lenguaje dominante
TypeScript
Estrellas
49
Forks
40
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

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 RocketChat/Rocket.Chat.Apps-cli

Todos los issues de RocketChat/Rocket.Chat.Apps-cli

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.