question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Android 10: _appiumSupport.util.pluralize is not a function (Permissions not granted)

See original GitHub issue

The problem

Unable to grant permission on Android 10 Device. I have added autoGrantPermissions to true in desired capabilities.

Unable to grant permission requested. Original error: _appiumSupport.util.pluralize is not a function

Environment

  • Appium version (or git revision) that exhibits the issue: Appium v1.17.0
  • Desktop OS/version used to run Appium: MacOS 10.14.6
  • Node.js version (unless using Appium.app|exe): v12.13.0
  • Npm or Yarn package manager: 6.12.0
  • Mobile platform/version under test: Android 10
  • Real device or emulator/simulator: Pixel 2

Link to Appium logs

https://gist.github.com/mayureshshirodkar/75e40d4387749b40c0e89469da8da607

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
mykola-mokhnachcommented, Mar 31, 2020

rm -rf /usr/local/lib/node_modules/appium

The correct way to uninstall npm modules is npm uninstall -g <module_name>

1reaction
mykola-mokhnachcommented, Mar 31, 2020

It might be that your company is using its own npm repository mirror, which is out of date. I don’t know the cause: I’ve just tried to reinstall 1.17 on my computer and everything worked.

Read more comments on GitHub >

github_iconTop Results From Across the Web

JavaScript pluralize an english string - Stack Overflow
So, I answer my own question by sharing my translation in javascript of Kuwamoto's PHP class. String.prototype.plural = function(revert){ var plural = { ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found