Skip to content

Running build #162

@Simon-U

Description

@Simon-U

Hello,

I use your templated to build Dash components which works really well.

With my current component I encounter an issue and I cannot make sense out of the error log.
When running npm run build it finishes the process but in-between I get the following message:

Description for ToolBoxGrid.resizeHandles is missing!
TypeError: Cannot convert undefined or null to object
TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at parseJSX (/home/simon/.pyenv/versions/3.11.3/envs/dashDrag/lib/python3.11/site-packages/dash/extract-meta.js:149:12)
    at gather (/home/simon/.pyenv/versions/3.11.3/envs/dashDrag/lib/python3.11/site-packages/dash/extract-meta.js:167:41)
    at /home/simon/.pyenv/versions/3.11.3/envs/dashDrag/lib/python3.11/site-packages/dash/extract-meta.js:188:11
    at Array.forEach (<anonymous>)
    at /home/simon/.pyenv/versions/3.11.3/envs/dashDrag/lib/python3.11/site-packages/dash/extract-meta.js:183:34
    at Array.forEach (<anonymous>)
    at gatherComponents (/home/simon/.pyenv/versions/3.11.3/envs/dashDrag/lib/python3.11/site-packages/dash/extract-meta.js:181:11)
    at Object.<anonymous> (/home/simon/.pyenv/versions/3.11.3/envs/dashDrag/lib/python3.11/site-packages/dash/extract-meta.js:758:18)
    at Module._compile (node:internal/modules/cjs/loader:1275:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1329:10)
    at Module.load (node:internal/modules/cjs/loader:1133:32)
    at Module._load (node:internal/modules/cjs/loader:972:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12)
    at node:internal/main/run_main_module:23:47

Does this maybe come from these prop types?

    resizeHandles: PropTypes.arrayOf(
        PropTypes.oneOf(['s', 'w', 'e', 'n', 'sw', 'nw', 'se', 'ne'])
    ),

    /**
     * Dash-assigned callback that should be called to report property changes
     * to Dash, to make them available for callbacks.
     */
    setProps: PropTypes.func,

Thank you for your help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions