aso icon indicating copy to clipboard operation
aso copied to clipboard

Error [ERR_REQUIRE_ESM]:

Open choxxy opened this issue 9 months ago • 0 comments

Am using ASO and google-play-scraper 10.0.0, but I kept getting the error below. I need help fixing it.

Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/choxxy/development/aso-dev/node_modules/google-play-scraper/index.js from /Users/choxxy/development/aso-dev/node_modules/aso/lib/stores/gplay.js not supported. Instead change the require of index.js in /Users/choxxy/development/aso-dev/node_modules/aso/lib/stores/gplay.js to a dynamic import() which is available in all CommonJS modules. at Object. (/Users/choxxy/development/aso-dev/node_modules/aso/lib/stores/gplay.js:4:15) at Object. (/Users/choxxy/development/aso-dev/node_modules/aso/index.js:7:12) at Object. (/Users/choxxy/development/aso-dev/index.js:1:13) { code: 'ERR_REQUIRE_ESM' }

choxxy avatar May 20 '24 09:05 choxxy