Package error even though I built it normally a few years ago

Aperta
#163 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
typescript
Ambito
cli

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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... !
`

Lingua principale
TypeScript
Stelle
49
Fork
40
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di RocketChat/Rocket.Chat.Apps-cli

Tutte le issue di RocketChat/Rocket.Chat.Apps-cli

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.