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
Unable to create new task/tracker with the interactive dialog.
Expected Behavior
When no arguments or just the "note" is given mite new asks for more details of the time-entry that should be created. Project, service and duration can be entered in an interactive survey.
Current Behavior
mite new
/usr/local/lib/node_modules/mite-cli/source/mite-new.js:5
const inquirer = require('inquirer');
^
Error [ERR_REQUIRE_ESM]: require() of ES Module /usr/local/lib/node_modules/mite-cli/node_modules/inquirer/lib/inquirer.js from /usr/local/lib/node_modules/mite-cli/source/mite-new.js not supported.
Instead change the require of inquirer.js in /usr/local/lib/node_modules/mite-cli/source/mite-new.js to a dynamic import() which is available in all CommonJS modules.
at Object.<anonymous> (/usr/local/lib/node_modules/mite-cli/source/mite-new.js:5:18) {
code: 'ERR_REQUIRE_ESM'
}
The text was updated successfully, but these errors were encountered:
Got it. Thanks for catching this. I think this can be resolved by reverting inquirer to an earlier version or migrating everything to be ESM compatible which might require more effort.
Context
debian 12/bookworm mite
mite 1.11.0
Node.js v18.19.0
Description
Unable to create new task/tracker with the interactive dialog.
Expected Behavior
Current Behavior
The text was updated successfully, but these errors were encountered: