Compilation ignores tsconfig.json

Open
#164 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
typescript
Domain
build-system, cli

Research direction

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.

Written by the indexing model from the issue text.

Description

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

Dominant language
TypeScript
Stars
49
Forks
39
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from RocketChat/Rocket.Chat.Apps-cli

All issues in RocketChat/Rocket.Chat.Apps-cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.