mstekl commented on pull request #90:
URL: https://github.com/apache/ignite-website/pull/90#issuecomment-970549398
@AddMoreScripts Thanks for the how-to! I followed it but got stuck with some
problem when trying to build locally. See the output below when running gulp
task. I made sure using latest version of Node, and even tried completely
deleting ./node_modules and package-lock
Any clue what could be happening? Thanks in advance!
```
$ gulp
\/usr/local/lib/node_modules/gulp-cli/lib/versioned/^4.0.0/index.js:36
var exported = require(env.configPath);
^
Error [ERR_REQUIRE_ESM]: require() of ES Module
/Users/mstekl/Documents/ignite-website-linearsite21/gulpfile.js from
/usr/local/lib/node_modules/gulp-cli/lib/versioned/^4.0.0/index.js not
supported.
Instead change the require of gulpfile.js in
/usr/local/lib/node_modules/gulp-cli/lib/versioned/^4.0.0/index.js to a dynamic
import() which is available in all CommonJS modules.
at execute
(/usr/local/lib/node_modules/gulp-cli/lib/versioned/^4.0.0/index.js:36:18)
at Liftoff.handleArguments
(/usr/local/lib/node_modules/gulp-cli/index.js:206:24)
at Liftoff.execute
(/usr/local/lib/node_modules/gulp-cli/node_modules/liftoff/index.js:201:12)
at module.exports
(/usr/local/lib/node_modules/gulp-cli/node_modules/flagged-respawn/index.js:51:3)
at Liftoff.<anonymous>
(/usr/local/lib/node_modules/gulp-cli/node_modules/liftoff/index.js:191:5)
at
/usr/local/lib/node_modules/gulp-cli/node_modules/liftoff/index.js:149:9
at
/usr/local/lib/node_modules/gulp-cli/node_modules/v8flags/index.js:145:14
at
/usr/local/lib/node_modules/gulp-cli/node_modules/graceful-fs/graceful-fs.js:61:14
at FSReqCallback.oncomplete (node:fs:188:23) {
code: 'ERR_REQUIRE_ESM'
}
Node.js v17.1.0
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]