node:internal/modules/cjs/loader:1423
throw err;
^
Error [ERR_REQUIRE_ESM]: require() of ES Module C:\Users\User\Desktop\Projects\Exchane bot\node_modules\@noble\secp256k1\index.js from C:\Users\User\Desktop\Projects\Exchane bot\node_modules\tronweb\dist\TronWeb.node.js not supported.
Instead change the require of index.js in C:\Users\User\Desktop\Projects\Exchane bot\node_modules\tronweb\dist\TronWeb.node.js to a
dynamic import() which is available in all CommonJS modules.
at C:\Users\User\Desktop\Projects\Exchane bot\node_modules\tronweb\dist\TronWeb.node.js:1:296544
at C:\Users\User\Desktop\Projects\Exchane bot\node_modules\tronweb\dist\TronWeb.node.js:1:697113
at Object. (C:\Users\User\Desktop\Projects\Exchane
bot\node_modules\tronweb\dist\TronWeb.node.js:1:697142) {
code: 'ERR_REQUIRE_ESM'
}
Node.js v21.7.0