Issue in installing pluggable-widget-tools Package

1
Hi, I am trying to build a switch-web pluggable widget for a web app by the following doc, (https://github.com/mendix/widgets-resources/tree/ee9677b2591fd2849c18c9d1c4379219ba88927c#for-developing-web-widgets-in-packagespluggablewidgets) I have taken the source code and followed the procedure to build a pluggable widget as per the doc. I tried to run the following command npm run pretest:e2e in the Mendix widget folder to initialize the Mendix project. Got the following error,   I skipped the above command and I run the following command npm run build in the packages\pluggableWidgets\switch-web widget folder. I got the following error,             ‘Pluggable-widgets-tools’ is not recognized as an internal or external command.   So, I tried to install an npm install @mendix/pluggable-widgets-tools package, by default, it is taking @mendix/piw-utils-internal. The error I got was, on the npm registry website there is no such package.  As per the link, (https://www.npmjs.com/package/@mendix-cn/piw-utils-internal/v/1.0.0) that directory package name was changed to @mendix-cn/piw-utils-internal. Could anyone please help? Thanks, Regards, Angelin Sarah
asked
1 answers
0

Hi Angelin,

Did you already have a look at the pluggable widget howto (https://docs.mendix.com/howto/extensibility/create-a-pluggable-widget-one)?

Hope this helps!

answered