Package error even though I built it normally a few years ago
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
- cli
Research direction
Reproduce the reported apps package command and inspect how packaging locates RcNotificationApp.ts and the listed files under src/. Check whether the existing files are being resolved from the expected project root, then verify that packaging completes without the missing-file errors.
Written by the indexing model from the issue text.
Description
About three years ago, I was still able to deploy this app normally without any issues, and the code hasn't changed since then. However, now when I package it again, it throws this error, even though the files still exist.
Anyone can help?
`D:\Inteliji\hiro-rcapp-new>rc-apps package
packaging your app... !
Error: Invalid App package. Could not find the classFile (RcNotificationApp.ts) file.
D:\Inteliji\hiro-rcapp-new>rc-apps package
[
{
file: undefined,
start: undefined,
length: undefined,
code: 6053,
category: 1,
messageText: {
messageText: "File 'src/OffRequestCommand.ts' not found.",
category: 1,
code: 6053,
next: [Array]
},
relatedInformation: undefined
},
{
file: undefined,
start: undefined,
length: undefined,
code: 6053,
category: 1,
messageText: {
messageText: "File 'src/endpoints/Notification.ts' not found.",
category: 1,
code: 6053,
next: [Array]
},
relatedInformation: undefined
},
{
file: undefined,
start: undefined,
length: undefined,
code: 6053,
category: 1,
messageText: {
messageText: "File 'src/handlers/ExecuteBlockActionHandler.ts' not found.",
category: 1,
code: 6053,
next: [Array]
},
relatedInformation: undefined
},
{
file: undefined,
start: undefined,
length: undefined,
code: 6053,
category: 1,
messageText: {
messageText: "File 'src/handlers/ExecuteViewSubmitHandler.ts' not found.",
category: 1,
code: 6053,
next: [Array]
},
relatedInformation: undefined
},
{
file: undefined,
start: undefined,
length: undefined,
code: 6053,
category: 1,
messageText: {
messageText: "File 'src/lib/findObjectByActionId.ts' not found.",
category: 1,
code: 6053,
next: [Array]
},
relatedInformation: undefined
},
{
file: undefined,
start: undefined,
length: undefined,
code: 6053,
category: 1,
messageText: {
messageText: "File 'src/lib/sendDirect.ts' not found.",
category: 1,
code: 6053,
next: [Array]
},
relatedInformation: undefined
}
]
A VERY UNEXPECTED ERROR HAPPENED THAT SHOULD NOT!
packaging your app... !
`
- Dominant language
- TypeScript
- Stars
- 49
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from RocketChat/Rocket.Chat.Apps-cli
-
Feature Request: Add Boilerplate Templates to rc-apps createPossibly taken @ShubhamS2005 claimed this 243 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 55/100
RocketChat/Rocket.Chat.Apps-cli#181 · 1 comment ·
-
Windows: rc-apps deploy fails with File 'X.ts' not found while tsc compiles successfullyPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
RocketChat/Rocket.Chat.Apps-cli#177 · 3 comments ·
-
Bug: Infinite loop in rc-apps watchMay be free again A pull request for this issue was closed without being merged. Open
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
`rc-apps pack` throws error with nodejs 24May be free again @okayxsh claimed this 231 days ago, and no pull request is open. Open
Difficulty 3/5 1-2 days Newbie friendliness 64/100
RocketChat/Rocket.Chat.Apps-cli#173 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
All issues in RocketChat/Rocket.Chat.Apps-cli
Similar issues
-
bug
Difficulty 2/5 Half a day Newbie friendliness 68/100
amosblomqvist/learnharness#758 ·
Maintainers usually reply within 2 days
-
Change WorkspacesOpen
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
bitfocus/companion-module-renewedvision-propresenter-api#134 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
rcpch/digital-growth-charts-react-component-library#304 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
dsh-market/dsh-market#1210 · 1 comment ·
Maintainers usually reply within 1 day
-
good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
trustjonathan/STUDY-HUB#13 ·