Closed algernon28 closed 1 year ago
@algernon28 This is valid use case and i will provide a fix for it. Meanwhile you can manually clear the database and execute the below commands to bring the database to its unitial state.
appium --use-plugin='appium-dashboard
. In the log, you will see the below line and copy the path from Requiring plugin at
line
WARN Appium Appium encountered 1 warning while validating plugins found in manifest /Users/sselvarj/.cache/appium-home/node_modules/.cache/appium/extensions.yaml
WARN Appium Plugin "appium-dashboard" has 1 potential problem:
WARN Appium - Plugin "appium-dashboard" (package `appium-dashboard`) may be incompatible with the current version of Appium (v2.0.0-beta.46) due to an invalid or missing peer dependency on Appium. Please ask the developer of `appium-dashboard` to add a peer dependency on `^appium@2.0.0-beta.46`.
[Appium] Attempting to load plugin appium-dashboard...
[debug] [Appium] Requiring plugin at /Users/sselvarj/.cache/appium-home/node_modules/appium-dashboard
2. cd to the path of the plugin
3. run `npm run sequelize:migrate`
Thanks
I will try that command, maybe it would be a good idea documenting it, I believe that resetting the database is a common need.
On Wed, 23 Nov 2022, 10:34 Sudharsan Selvaraj, @.***> wrote:
@algernon28 https://github.com/algernon28 This is valid use case and i will provide a fix for it. Meanwhile you can manually clear the database and execute the below commands to bring the database to its unitial state.
- Find the plugin installation directory. To find the directory, start your appium server appium --use-plugin='appium-dashboard. In the log, you will see the below line and copy the path from Requiring plugin at line
WARN Appium Appium encountered 1 warning while validating plugins found in manifest /Users/sselvarj/.cache/appium-home/node_modules/.cache/appium/extensions.yaml WARN Appium Plugin "appium-dashboard" has 1 potential problem: WARN Appium - Plugin "appium-dashboard" (package
appium-dashboard
) may be incompatible with the current version of Appium (v2.0.0-beta.46) due to an invalid or missing peer dependency on Appium. Please ask the developer ofappium-dashboard
to add a peer dependency on @.***`. [Appium] Attempting to load plugin appium-dashboard...[debug] [Appium] Requiring plugin at /Users/sselvarj/.cache/appium-home/node_modules/appium-dashboard
- cd to the path of the plugin
- run npm run sequelize:migrate
— Reply to this email directly, view it on GitHub https://github.com/sudharsan-selvaraj/appium-dashboard-plugin/issues/91#issuecomment-1324774434, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXFO4XB223LPEGGNGUASTLWJXQKVANCNFSM6AAAAAASGRCOQY . You are receiving this because you were mentioned.Message ID: @.*** com>
@algernon28 Fixed the issue as part of v2.0.0. Update the plugin using below command
appium plugin update appium-dashboard --unsafe
How can i clear all the old sessions? I tried to remove the sql database and all videos + screenshots. The database was recreated but it stopped working, maybe a command to clear the whole cache would be useful