Skip to content

Commit c523673

Browse files
committed
Add disclaimer on dashes in organization name
1 parent fe1e37a commit c523673

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

content/en/docs/howto/extensibility/pluggable-widgets/create-a-pluggable-widget-one.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,12 @@ The generator will ask you a few questions during setup. Answer the questions by
8383
* Unit tests: **No**
8484
* End-to-end tests: **No**
8585

86+
{{% alert color="warning" %}}
87+
At this time the **Organization Name** cannot include a dash "`-`" character. This will result in an error when running your app, asking to check if the widgets "were generated with the latest version of the pluggable-widgets-tools and are ES6 modules."
88+
89+
To fix this in an existing widget, modify the `packagePath` property of its `package.json` file and rebuild the widget.
90+
{{% /alert %}}
91+
8692
{{< figure src="/attachments/howto/extensibility/pluggable-widgets/create-a-pluggable-widget-one/generatorblack-new.png" alt="The Mendix Widget generator with the prompts answered according to the list above." class="no-border" >}}
8793

8894
As part of the widget scaffolding, the generator builds the widget for the first time. You can do this yourself by running `npm run build` inside your widget's directory.

0 commit comments

Comments
 (0)