Compilation ignores tsconfig.json

Đang mở
#164 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
typescript
Lĩnh vực
build-system, cli

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
TypeScript
Star
49
Fork
40
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của RocketChat/Rocket.Chat.Apps-cli

Tất cả issue của RocketChat/Rocket.Chat.Apps-cli

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.