Skip to content

Hard to identify a cause of plugin-uploader failure #1643

Open
@ueokande

Description

@ueokande

Package

  • @kintone/plugin-uploader v7.1.0

Why

It's not easy to identify a root cause when uploading a plugin failure occurs. The plugin-uploader outputs the following messages when I try to upload a plugin:

$ kintone-plugin-uploader --base-url https://xxx.kintone.com my-plugin.zip
Open https://xxx.kintone.com/login?saml=off
Trying to log in...
Navigate to https://xxx.kintone.com/k/admin/system/plugin/
Trying to upload my-plugin.zip
An error occurred TimeoutError: waiting for selector `.ocean-ui-dialog` to be hidden failed: timeout 60000ms exceeded
    ...stack trace

The plugin is actually invalid, and I can confirm what is incorrect on my browser by uploading a plugin manually.

Screenshot 2022-07-28 at 04-22-56 Plug-ins

What

I propose two solutions; 1) get error messages in the dialog and notify them to a user, and 2) save a screenshot of the browser when the plugin-uploader fails.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions