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 Install Appium in Ubuntu #19262

Closed
3 tasks done
RYenike opened this issue Oct 7, 2023 · 3 comments
Closed
3 tasks done

Unable to Install Appium in Ubuntu #19262

RYenike opened this issue Oct 7, 2023 · 3 comments
Labels
Needs Info typically non-actionable; needs author to respond

Comments

@RYenike
Copy link

RYenike commented Oct 7, 2023

Do I have the most recent component updates?

  • I use the most recent available driver/plugin and server versions

Is the component officially supported by the Appium team?

  • I have verified the component repository is present under the Appium organization in GitHub

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Unable to install Appium in Ubuntu

ram@administrator-Latitude-3420:~$ npm i --location=global appium
npm WARN deprecated typedoc-plugin-resolve-crossmodule-references@0.3.3: Upgrade to typedoc >= 0.24 and remove typedoc-plugin-resolve-crossmodule-references from your dependencies
npm ERR! code 1
npm ERR! path /usr/local/lib/node_modules/appium
npm ERR! command failed
npm ERR! command sh -c node ./scripts/autoinstall-extensions.js

Expected Behavior

Appium to be successfully install

Minimal Reproducible Example

npm i --location=global appium
npm WARN deprecated typedoc-plugin-resolve-crossmodule-references@0.3.3: Upgrade to typedoc >= 0.24 and remove typedoc-plugin-resolve-crossmodule-references from your dependencies
npm ERR! code 1
npm ERR! path /usr/local/lib/node_modules/appium
npm ERR! command failed
npm ERR! command sh -c node ./scripts/autoinstall-extensions.js

Environment

  • Operating system:
  • Appium server version (output of appium --version):
  • Appium driver(s) and their version(s):
  • Appium plugin(s) and their version(s):
  • Node.js version (output of node --version):18.18.0
  • npm version (output of npm --version):9.8.1
  • Last component(s) version which did not exhibit the problem:
  • Platform and version under test:
  • Real device or emulator/simulator:

Link to Appium Logs

No response

Further Information

npm i --location=global appium
npm WARN deprecated typedoc-plugin-resolve-crossmodule-references@0.3.3: Upgrade to typedoc >= 0.24 and remove typedoc-plugin-resolve-crossmodule-references from your dependencies
npm ERR! code 1
npm ERR! path /usr/local/lib/node_modules/appium
npm ERR! command failed
npm ERR! command sh -c node ./scripts/autoinstall-extensions.js

@RYenike RYenike added Bug a problem that needs fixing Needs Triage bugs which are not yet confirmed labels Oct 7, 2023
@mykola-mokhnach mykola-mokhnach added Needs Info typically non-actionable; needs author to respond and removed Bug a problem that needs fixing Needs Triage bugs which are not yet confirmed labels Oct 8, 2023
@mykola-mokhnach
Copy link
Collaborator

Please provide the full error report. NPM should also generate a detailed debug log

@mykola-mokhnach
Copy link
Collaborator

Closed because of no response

@jpmorrison
Copy link

@RYenike I had the same issue with the snap store version of node.js

In the system logs I saw apparmor denying snap-confine every time npm i failed.

See: nodejs/snap#56

I'm pretty sure this is the problem: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1849753

After I removed the snap version and installed the .deb packages from nodesource.com appium installed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Info typically non-actionable; needs author to respond
Projects
None yet
Development

No branches or pull requests

3 participants