Compilation ignores tsconfig.json

オープン
#164 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
typescript
領域
build-system, cli

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
TypeScript
スター
49
フォーク
40
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

RocketChat/Rocket.Chat.Apps-cli のほかの issue

RocketChat/Rocket.Chat.Apps-cli の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。