/usr/local/lib/node_modules/infoooze/src/home.js:4
const updateNotifier = require('update-notifier');
^
Error [ERR_REQUIRE_ESM]: require() of ES Module /usr/local/lib/node_modules/infoooze/node_modules/update-notifier/index.js from /usr/local/lib/node_modules/infoooze/src/home.js not supported.
Instead change the require of index.js in /usr/local/lib/node_modules/infoooze/src/home.js to a dynamic import() which is available in all CommonJS modules.
at Object.<anonymous> (/usr/local/lib/node_modules/infoooze/src/home.js:4:24)
at Object.<anonymous> (/usr/local/lib/node_modules/infoooze/index.js:5:26) {
code: 'ERR_REQUIRE_ESM'
}
Hi,
When updated infoooze to 1.2.0 I have this error:
Any ideas ?