Skip to content
This repository has been archived by the owner on Jul 6, 2020. It is now read-only.

Error while generating native widget #35

Closed
bartrikers opened this issue Nov 22, 2019 · 4 comments
Closed

Error while generating native widget #35

bartrikers opened this issue Nov 22, 2019 · 4 comments
Labels
help wanted Extra attention is needed

Comments

@bartrikers
Copy link

Hi,

I'm trying to build a pluggable native widget using this how to but I can't seem to generate a new widget using the Widget Generator(v8.2.0).

I get the following error:
widgetgenerator

When I try to open it in Visual Studio Code, I see the following error in the GroupBox.tsx file:
image
image

I also tried generating a pluggable widget for web/hybrid, this goes without problem, so to me, it looks like there is something wrong with the native widget generator...

Kind regards,
Bart

@proggreg
Copy link

The plain javascript template works

@diego-antonelli
Copy link
Contributor

Hi Bart, to solve this problem just update the generator using npm install -g @mendix/generator-widget because we are already in version 8.4.0

@diego-antonelli diego-antonelli added the help wanted Extra attention is needed label Nov 25, 2019
@bartrikers
Copy link
Author

@diego-antonelli great, thanks!

Perhaps a good idea to update this how-to (https://docs.mendix.com/howto/extensibility/build-native-widget) though, because there it specifically mentions v8.2.0...

Kind regards,
Bart

@diego-antonelli
Copy link
Contributor

diego-antonelli commented Nov 25, 2019

Thanks for the tip, I’ll let @IIsaku know about this and make the relevant changes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants