Error [ERR_REQUIRE_ESM]: require() of ES Module /node_modules/cli-cursor/index.js from /node_modules/inquirer-date-prompt/index.js not supported.
Instead change the require of /node_modules/cli-cursor/index.js in /node_modules/inquirer-date-prompt/index.js to a dynamic import() which is available in all CommonJS modules.
at Object. (**/node_modules/inquirer-date-prompt/index.js:2:19)
at async Promise.all (index 0) {
code: 'ERR_REQUIRE_ESM'
}
**/node_modules/inquirer-date-prompt/index.js:2 const cliCursor = require("cli-cursor");
Error [ERR_REQUIRE_ESM]: require() of ES Module /node_modules/cli-cursor/index.js from /node_modules/inquirer-date-prompt/index.js not supported. Instead change the require of /node_modules/cli-cursor/index.js in /node_modules/inquirer-date-prompt/index.js to a dynamic import() which is available in all CommonJS modules. at Object. (**/node_modules/inquirer-date-prompt/index.js:2:19)
at async Promise.all (index 0) {
code: 'ERR_REQUIRE_ESM'
}
inquirer: v9.1.2 inquirer-date-prompt": "^2.0.1"