Error [ERR_REQUIRE_ESM]: require() of ES Module C:\Users\Daksh\OneDrive\Desktop\webd\coindex-CLI2\node_modules\configstore\index.js from C:\Users\Daksh\OneDrive\Desktop\webd\coindex-CLI2\lib\KeyManager.js not supported.
Instead change the require of index.js in C:\Users\Daksh\OneDrive\Desktop\webd\coindex-CLI2\lib\KeyManager.js to a dynamic import() which is available in all CommonJS modules.
at Object. (C:\Users\Daksh\OneDrive\Desktop\webd\coindex-CLI2\lib\KeyManager.js:1:19)
at Object. (C:\Users\Daksh\OneDrive\Desktop\webd\coindex-CLI2\commands\key.js:3:20)
at Object. (C:\Users\Daksh\OneDrive\Desktop\webd\coindex-CLI2\bin\coindex-key.js:2:13) {
code: 'ERR_REQUIRE_ESM'
}
Error [ERR_REQUIRE_ESM]: require() of ES Module C:\Users\Daksh\OneDrive\Desktop\webd\coindex-CLI2\node_modules\configstore\index.js from C:\Users\Daksh\OneDrive\Desktop\webd\coindex-CLI2\lib\KeyManager.js not supported. Instead change the require of index.js in C:\Users\Daksh\OneDrive\Desktop\webd\coindex-CLI2\lib\KeyManager.js to a dynamic import() which is available in all CommonJS modules. at Object. (C:\Users\Daksh\OneDrive\Desktop\webd\coindex-CLI2\lib\KeyManager.js:1:19)
at Object. (C:\Users\Daksh\OneDrive\Desktop\webd\coindex-CLI2\commands\key.js:3:20)
at Object. (C:\Users\Daksh\OneDrive\Desktop\webd\coindex-CLI2\bin\coindex-key.js:2:13) {
code: 'ERR_REQUIRE_ESM'
}