Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to get AppDetails by using google-play-api #640

Open
developer-swetabh opened this issue Jun 14, 2023 · 0 comments
Open

Unable to get AppDetails by using google-play-api #640

developer-swetabh opened this issue Jun 14, 2023 · 0 comments

Comments

@developer-swetabh
Copy link

developer-swetabh commented Jun 14, 2023

  • Operating System: Windows 10
  • Node version: 18.16.0
  • google-play-scraper version: 6.2.3

Description:

I was trying to use the google-play-api, but unable to get the appDetails of any application.

Example code:

gplay.app({appId: 'com.google.android.apps.translate'})
  .then(console.log, console.log);

Error message:

Cannot read properties of undefined (reading 'replace')

Upon closely inspecting the code and adding console log, this is what I am getting:

TypeError: Cannot read properties of undefined (reading 'replace')
    at Object.descriptionText [as fun] (C:\Users\ssuman\Binaries\Swetabh\google-play-api\node_modules\google-play-scraper\lib\utils\mappingHelpers.js:9:51)
    at C:\Users\ssuman\Binaries\Swetabh\google-play-api\node_modules\google-play-scraper\lib\utils\scriptData.js:52:19
    at XWrap.f (C:\Users\ssuman\Binaries\Swetabh\google-play-api\node_modules\ramda\dist\ramda.js:5955:28)
    at XWrap.@@transducer/step (C:\Users\ssuman\Binaries\Swetabh\google-play-api\node_modules\ramda\dist\ramda.js:392:25)
    at _arrayReduce (C:\Users\ssuman\Binaries\Swetabh\google-play-api\node_modules\ramda\dist\ramda.js:5137:46)
    at _reduce (C:\Users\ssuman\Binaries\Swetabh\google-play-api\node_modules\ramda\dist\ramda.js:5167:24)
    at map (C:\Users\ssuman\Binaries\Swetabh\google-play-api\node_modules\ramda\dist\ramda.js:5954:20)
    at C:\Users\ssuman\Binaries\Swetabh\google-play-api\node_modules\ramda\dist\ramda.js:586:23
    at Object.f2 [as map] (C:\Users\ssuman\Binaries\Swetabh\google-play-api\node_modules\ramda\dist\ramda.js:473:22)
    at extractFields (C:\Users\ssuman\Binaries\Swetabh\google-play-api\node_modules\google-play-scraper\lib\utils\scriptData.js:40:14)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant