Skip to content

reset.sh fails on default node pkg #415

@bootstraponline

Description

@bootstraponline
  1. Visit nodejs.org and click the big green install button
  2. npm commands now require sudo so appium's reset.sh script will fail

Should the reset.sh script be updated to work with the nodejs package or is there a better way to install nodejs without using sudo?

npm install .
if [ $? -gt 0 ]; then
    echo "install failed. trying again with sudo."
    sudo npm install .
fi

Metadata

Metadata

Assignees

No one assigned

    Labels

    Buga problem that needs fixing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions