You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First time Gulp user here, but can't even start the tool because of the error, and google is suprisingly helpless. I'm not even sure if the error is related to gulp or nodejs.
Ilias-Mac-mini % gulp
(node:80923) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
Error [ERR_REQUIRE_ASYNC_MODULE]: require() cannot be used on an ESM graph with top-level await. Use import() instead. To see where the top-level await comes from, use --experimental-print-required-tla.
at ModuleJobSync.runSync (node:internal/modules/esm/module_job:392:13) at ModuleLoader.importSyncForRequire (node:internal/modules/esm/loader:329:47) at loadESMFromCJS (node:internal/modules/cjs/loader:1411:24) at Module._compile (node:internal/modules/cjs/loader:1544:5) at Object..js (node:internal/modules/cjs/loader:1668:16) at Module.load (node:internal/modules/cjs/loader:1313:32) at Function._load (node:internal/modules/cjs/loader:1123:12) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:217:24) at Module.require (node:internal/modules/cjs/loader:1335:12) {
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
First time Gulp user here, but can't even start the tool because of the error, and google is suprisingly helpless. I'm not even sure if the error is related to gulp or nodejs.
Ilias-Mac-mini % gulp
(node:80923) [DEP0040] DeprecationWarning: The
punycodemodule is deprecated. Please use a userland alternative instead.(Use
node --trace-deprecation ...to show where the warning was created)Error [ERR_REQUIRE_ASYNC_MODULE]: require() cannot be used on an ESM graph with top-level await. Use import() instead. To see where the top-level await comes from, use --experimental-print-required-tla.
code: 'ERR_REQUIRE_ASYNC_MODULE'
I've installed gulp through yarn
Ilias-Mac-mini % sudo yarn add gulp
yarn add v1.22.22
[1/4] 🔍 Resolving packages...
warning css-minify > cssnano > cssnano-preset-default > postcss-svgo > svgo > stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
warning gulp-sourcemaps > css > source-map-resolve@0.6.0: See https://github.com/lydell/source-map-resolve#deprecated
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
[4/4] 🔨 Building fresh packages...
success Saved lockfile.
warning "gulp" is already in "devDependencies". Please remove existing entry first before adding it to "dependencies".
success Saved 307 new dependencies.
info Direct dependencies
├─ browser-sync@3.0.3
├─ css-minify@2.1.0
├─ del@8.0.0
├─ gulp-autoprefixer@9.0.0
├─ gulp-cache@1.1.3
├─ gulp-cssnano@2.1.3
├─ gulp-imagemin@9.1.0
├─ gulp-load-plugins@2.0.8
├─ gulp-notify@5.0.0
├─ gulp-plumber@1.2.1
├─ gulp-rename@2.0.0
├─ gulp-sass@6.0.0
├─ gulp-sourcemaps@3.0.0
├─ gulp-uglify@3.0.2
├─ gulp@5.0.0
├─ imagemin-jpegtran@8.0.0
└─ imagemin-pngquant@10.0.0
info All dependencies
├─ @babel/runtime@7.26.7
├─ @gulp-sourcemaps/identity-map@2.0.1
├─ @gulp-sourcemaps/map-sources@1.0.0
├─ @gulpjs/messages@1.1.0
├─ @gulpjs/to-absolute-glob@4.0.0
├─ @nodelib/fs.scandir@2.1.5
├─ @nodelib/fs.stat@2.0.5
├─ @nodelib/fs.walk@1.2.8
├─ @sec-ant/readable-stream@0.4.1
├─ @sindresorhus/is@6.3.1
├─ @sindresorhus/merge-streams@2.3.0
├─ @trysound/sax@0.2.0
├─ @types/cors@2.8.17
├─ @types/expect@1.20.4
├─ @types/vinyl@2.0.12
├─ ansi-styles@4.3.0
├─ anymatch@3.1.3
├─ arch@2.2.0
├─ archive-type@4.0.0
├─ async-settle@2.0.0
├─ atob@2.1.2
├─ autoprefixer@10.4.20
├─ b4a@1.6.7
├─ bach@2.0.1
├─ bare-events@2.5.4
├─ base64-js@1.5.1
├─ base64id@2.0.0
├─ batch@0.6.1
├─ bin-check@4.1.0
├─ bin-version-check@4.0.0
├─ bin-version@3.1.0
├─ bin-wrapper@4.1.0
├─ binary-extensions@2.3.0
├─ braces@3.0.3
├─ browser-sync-client@3.0.3
├─ browser-sync-ui@3.0.3
├─ browser-sync@3.0.3
├─ browserslist@4.24.4
├─ buffer-alloc-unsafe@1.1.0
├─ buffer-alloc@1.2.0
├─ buffer-fill@1.0.0
├─ buffer-from@1.1.2
├─ bytes@3.1.2
├─ cacheable-request@2.1.4
├─ callsites@4.2.0
├─ caniuse-lite@1.0.30001695
├─ caw@2.0.1
├─ change-file-extension@0.1.1
├─ chokidar@3.6.0
├─ cliui@8.0.1
├─ clone-response@1.0.2
├─ color-convert@2.0.1
├─ config-chain@1.1.13
├─ connect@3.6.6
├─ convert-hrtime@5.0.0
├─ convert-source-map@1.9.0
├─ cookie@1.0.2
├─ copy-props@4.0.0
├─ core-js@3.40.0
├─ css-declaration-sorter@6.4.1
├─ css-minify@2.1.0
├─ css-select@4.3.0
├─ css-tree@1.1.3
├─ css-what@6.1.0
├─ css@3.0.0
├─ cssesc@3.0.0
├─ cssnano-preset-default@5.2.14
├─ debug-fabulous@1.1.0
├─ decompress-response@3.3.0
├─ decompress-tar@4.1.1
├─ decompress-tarbz2@4.1.1
├─ decompress-targz@4.1.1
├─ decompress-unzip@4.0.1
├─ del@8.0.0
├─ detect-newline@2.1.0
├─ dom-serializer@1.4.1
├─ domelementtype@2.3.0
├─ domutils@2.8.0
├─ dot-prop@8.0.2
├─ download@6.2.5
├─ each-props@3.0.0
├─ easy-extender@2.3.4
├─ eazy-logger@4.0.1
├─ electron-to-chromium@1.5.88
├─ emoji-regex@8.0.0
├─ end-of-stream@1.4.4
├─ engine.io-client@6.6.3
├─ engine.io@6.6.3
├─ entities@2.2.0
├─ eventemitter3@4.0.7
├─ executable@4.1.1
├─ ext-list@2.2.2
├─ fast-equals@5.2.2
├─ fast-fifo@1.3.2
├─ fast-glob@3.3.3
├─ fast-levenshtein@3.0.0
├─ fast-xml-parser@4.5.1
├─ fastest-levenshtein@1.0.16
├─ fastq@1.18.0
├─ figures@6.1.0
├─ filename-reserved-regex@2.0.0
├─ fill-range@7.1.1
├─ finalhandler@1.1.0
├─ find-versions@3.2.0
├─ fined@2.0.0
├─ flagged-respawn@2.0.0
├─ follow-redirects@1.15.9
├─ fraction.js@4.3.7
├─ from2@2.3.0
├─ fs-constants@1.0.0
├─ fs-mkdirp-stream@2.0.1
├─ fsevents@2.3.3
├─ function-timeout@1.0.2
├─ get-proxy@2.1.0
├─ gifsicle@5.3.0
├─ glob-parent@5.1.2
├─ glob-stream@8.0.2
├─ glob-watcher@6.0.0
├─ globby@14.0.2
├─ glogg@2.2.0
├─ got@7.1.0
├─ gulp-autoprefixer@9.0.0
├─ gulp-cache@1.1.3
├─ gulp-cli@3.0.0
├─ gulp-cssnano@2.1.3
├─ gulp-imagemin@9.1.0
├─ gulp-load-plugins@2.0.8
├─ gulp-notify@5.0.0
├─ gulp-plugin-extras@0.2.2
├─ gulp-plumber@1.2.1
├─ gulp-rename@2.0.0
├─ gulp-sass@6.0.0
├─ gulp-sourcemaps@3.0.0
├─ gulp-uglify@3.0.2
├─ gulp@5.0.0
├─ has-symbol-support-x@1.4.2
├─ has-to-string-tag-x@1.4.1
├─ hasown@2.0.2
├─ http-cache-semantics@3.8.1
├─ http-proxy@1.18.1
├─ human-signals@5.0.0
├─ iconv-lite@0.4.24
├─ identifier-regex@1.0.0
├─ ignore@5.3.2
├─ image-dimensions@2.3.0
├─ imagemin-gifsicle@7.0.0
├─ imagemin-jpegtran@8.0.0
├─ imagemin-mozjpeg@10.0.0
├─ imagemin-optipng@8.0.0
├─ imagemin-pngquant@10.0.0
├─ imagemin-svgo@10.0.1
├─ imagemin@9.0.0
├─ import-lazy@3.1.0
├─ interpret@3.1.1
├─ into-stream@3.1.0
├─ irregular-plurals@3.5.0
├─ is-binary-path@2.1.0
├─ is-core-module@2.16.1
├─ is-docker@2.2.1
├─ is-extglob@2.1.1
├─ is-fullwidth-code-point@3.0.0
├─ is-gif@3.0.0
├─ is-identifier@1.0.1
├─ is-jpg@3.0.0
├─ is-natural-number@4.0.1
├─ is-number@7.0.0
├─ is-object@1.0.2
├─ is-path-cwd@3.0.0
├─ is-path-inside@4.0.0
├─ is-png@3.0.1
├─ is-svg@4.4.0
├─ is-unicode-supported@2.1.0
├─ is-valid-glob@1.0.0
├─ is-wsl@1.1.0
├─ is@3.3.0
├─ jpegtran-bin@7.0.0
├─ json-buffer@3.0.0
├─ junk@4.0.1
├─ keyv@3.0.0
├─ last-run@2.0.0
├─ lead@4.0.0
├─ liftoff@5.0.0
├─ lilconfig@2.1.0
├─ lodash.clonedeep@4.5.0
├─ lodash@4.17.21
├─ mdn-data@2.0.14
├─ merge-stream@2.0.0
├─ merge2@1.4.1
├─ micromatch@4.0.8
├─ mimic-fn@4.0.0
├─ mitt@1.2.0
├─ mozjpeg@8.0.0
├─ ms@2.1.3
├─ mute-stdout@2.0.0
├─ nanoid@3.3.8
├─ nice-try@1.0.5
├─ node-notifier@10.0.1
├─ node-releases@2.0.19
├─ node.extend@2.0.3
├─ npm-conf@1.1.3
├─ nth-check@2.1.1
├─ object-assign@4.1.1
├─ onetime@6.0.0
├─ opn@5.3.0
├─ optipng-bin@7.0.1
├─ os-filter-obj@2.0.0
├─ p-cancelable@0.3.0
├─ p-event@1.3.0
├─ p-is-promise@1.1.0
├─ p-map-series@1.0.0
├─ p-map@7.0.3
├─ p-pipe@4.0.0
├─ p-reduce@1.0.0
├─ parse-filepath@1.0.2
├─ parse-ms@4.0.0
├─ parseurl@1.3.3
├─ path-parse@1.0.7
├─ path-type@5.0.0
├─ peek-readable@5.3.1
├─ picomatch@2.3.1
├─ plur@5.1.0
├─ pngquant-bin@9.0.0
├─ portscanner@2.2.0
├─ postcss-normalize-display-values@5.1.0
├─ postcss-normalize-positions@5.1.1
├─ postcss-normalize-repeat-style@5.1.1
├─ postcss-normalize-string@5.1.0
├─ postcss-normalize-timing-functions@5.1.0
├─ postcss-normalize-unicode@5.1.1
├─ postcss-normalize-whitespace@5.1.1
├─ postcss-selector-parser@6.1.2
├─ postcss@8.5.1
├─ pretty-bytes@6.1.1
├─ pretty-ms@9.2.0
├─ proto-list@1.2.4
├─ pump@3.0.2
├─ queue-microtask@1.2.3
├─ queue-tick@1.0.1
├─ raw-body@2.5.2
├─ readdirp@3.6.0
├─ rechoir@0.8.0
├─ regenerator-runtime@0.14.1
├─ replace-homedir@2.0.0
├─ requires-port@1.0.0
├─ reserved-identifiers@1.0.0
├─ resolve-options@2.0.0
├─ responselike@1.0.2
├─ reusify@1.0.4
├─ run-parallel@1.2.0
├─ safer-buffer@2.1.2
├─ seek-bzip@1.0.6
├─ semver-greatest-satisfied-range@2.0.0
├─ semver-regex@2.0.0
├─ semver-truncate@1.1.2
├─ send@0.19.1
├─ serve-index@1.9.1
├─ serve-static@1.16.2
├─ setprototypeof@1.2.0
├─ socket.io-adapter@2.5.5
├─ socket.io-client@4.8.1
├─ socket.io@4.8.1
├─ sort-keys-length@1.0.1
├─ source-map-js@1.2.1
├─ source-map-resolve@0.6.0
├─ stable@0.1.8
├─ stream-composer@1.0.2
├─ stream-exhaust@1.0.2
├─ strip-bom-string@1.0.0
├─ strip-dirs@2.1.0
├─ strip-final-newline@3.0.0
├─ strnum@1.0.5
├─ strtok3@9.1.1
├─ stylehacks@5.1.1
├─ super-regex@1.0.0
├─ supports-preserve-symlinks-flag@1.0.0
├─ sver@1.8.4
├─ svgo@2.8.0
├─ tar-stream@1.6.2
├─ teex@1.0.1
├─ text-decoder@1.2.3
├─ time-span@5.1.0
├─ timed-out@4.0.1
├─ to-buffer@1.1.1
├─ to-regex-range@5.0.1
├─ to-through@3.0.0
├─ toidentifier@1.0.1
├─ token-types@6.0.0
├─ type-fest@3.13.1
├─ ua-parser-js@1.0.40
├─ unbzip2-stream@1.4.3
├─ undertaker-registry@2.0.0
├─ undertaker@2.0.0
├─ undici-types@6.20.0
├─ unicorn-magic@0.1.0
├─ update-browserslist-db@1.1.2
├─ util-deprecate@1.0.2
├─ utils-merge@1.0.1
├─ v8flags@4.0.1
├─ vary@1.1.2
├─ vinyl-contents@2.0.0
├─ vinyl-fs@4.0.0
├─ vinyl-sourcemap@2.0.0
├─ xmlhttprequest-ssl@2.1.2
├─ yaml@1.10.2
├─ yargs-parser@21.1.1
├─ yargs@17.7.2
└─ yoctocolors@2.1.1
✨ Done in 20.97s.
Please, any advice would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions