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
When I run the command npm start the following code appeared:
> reveal.js@5.1.0 start
> gulp serve
Error [ERR_REQUIRE_ESM]: require() of ES Module /home/pacaunt/reveal.js/node_modules/gulp-zip/index.js from /home/pacaunt/reveal.js/gulpfile.js not supported.
Instead change the require of index.js in /home/pacaunt/reveal.js/gulpfile.js to a dynamic import() which is available in all CommonJS modules.
at Object.<anonymous> (/home/pacaunt/reveal.js/gulpfile.js:16:13) {
code: 'ERR_REQUIRE_ESM'
}
I'm using Ubuntu 24.04 with node.js 21.1.0 and npm 10.2.0
what did I done wrong?
The text was updated successfully, but these errors were encountered:
When I run the command
npm start
the following code appeared:I'm using Ubuntu 24.04 with node.js 21.1.0 and npm 10.2.0
what did I done wrong?
The text was updated successfully, but these errors were encountered: