ionic-team / ionic-team/ionic-cli
v1-toolkit is failing to recognize the gulpfile.js
- Lingua principale
- TypeScript
- Stelle
- 2k
- Fork
- 682
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
**Description:**
I've updated gulp to V4, also the gulpfile.js.
But, the last commit is searching for plain functions, which is not a GulpV4 standard.
Anyway I've accomodated the file to accomplish what is expected, so the gulpfile.js is recognized and tasks loaded, but again is not working correctly with the promises.
**Steps to Reproduce:**
"ionic serve" is no longer working for v1 projects, with the last version of packages/@ionic/v1-toolkit/src/lib/gulp.ts ...
Even when the "gulp" command works correctly by itself.
Can you provide a small example of what is expected in the gulp file?
Why is validating for plain functions, but then it just executes "ionic:serve:before" task
Best!
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Start with packages/@ionic/v1-toolkit/src/lib/gulp.ts and reproduce the failure with ionic serve in a v1 project using the reported gulpfile.js and Gulp V4. Check how the file is recognized, how ionic:serve:before is executed, and how promise-based tasks are handled. Done means the gulpfile is recognized and ionic serve works correctly for the reported setup.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- typescript
- Ambito
- cli, tooling
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100