appium-dashboard-plugin
appium-dashboard-plugin copied to clipboard
Installation Error - Encountered an error when installing package: Cannot read property 'trim' of undefined
pi@raspberrypi:~ $ appium --version 2.0.0-beta.25
pi@raspberrypi:~ $ sudo appium plugin install --source=npm appium-dashboard Attempting to find and install plugin 'appium-dashboard' ⠴ Installing 'appium-dashboard' ⠧ Installing 'appium-dashboard' ⠏ Installing 'appium-dashboard' ✖ Installing 'appium-dashboard' Error: Encountered an error when installing package: Cannot read property 'trim' of undefined
Hi @buchadep , Thanks for reporting the issue. Could you also provide a few additional details about the operating system and node version for better debugging?
It raspberry pi pi@raspberrypi:~ $ cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="Debian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/"
pi@raspberrypi:~ $ npm --version 7.5.2
pi@raspberrypi:~ $ node -v v12.22.5
I have tried it with another Debian versions and couldn't reproduce the issue. Could you also check if the same error occurs if the module is installed directly via npm and attach the logs here for reference
npm install -g appium-dashboard.
Manage to install it, When I upgraded Node and NPM version: root@raspberrypi:/usr# node -v v17.6.0 root@raspberrypi:/usr# npm -v 8.5.1 root@raspberrypi:/usr#
Only issue I am getting now is, Videos are not coming through as session Timed Out. Any specific Session Capabilities we need to set?
[HTTP] --> POST /session/a7edd4dd-ba0a-4318-808c-d022bed87605/appium/stop_recording_screen?internal=true [HTTP] {} [debug] [W3C (a7edd4dd)] Encountered internal error running command: NoSuchDriverError: A session is either terminated or not started