gulpjs / gulpjs/gulp-cli

Support Node > 18

Aperta
#274 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
408
Fork
112
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### What actually happened?

Hello. I've been lately trying to upgrade our project based on Gulp to Node versions > 18. I am hitting this issue:

```
$ yarn gulp
(node:447453) ExperimentalWarning: Use `importAttributes` instead of `importAssertions`
(Use `node --trace-warnings ...` to show where the warning was created)
/home/squake/workspace/camel/docs/.yarn/cache/rechoir-npm-0.8.0-fb660b3bc8-ad3caed8af.zip/node_modules/rechoir/index.js:21
if (Object.keys(require.extensions).indexOf(usedExtension) !== -1) {
```

Any way to prevent it or possibility to have it working with newer Node versions?

Thanks!

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Reproduce the report by running `yarn gulp` with a Node version above 18, then inspect the stack trace at the cached `rechoir/index.js` path and the surrounding gulp-cli dependency setup. Done means the CLI works on newer Node versions without the reported compatibility problem; add or update a regression check if the repository provides one.

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

Valutazione

Stack tecnologico
javascript, node.js
Ambito
cli
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.