cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Facing issue on Widget Extension packaging for Thingworx using npm.

SOLVED

Facing issue on Widget Extension packaging for Thingworx using npm.

Hi Everyone,

 

We were trying to create Extension for Thingworx Using Angular.

we following below steps and stuck for packaging extension:

1. we following this URL : http://support.ptc.com/help/thingworx_hc/visual_sdk/#download-and-installation

2. we have created basic app on angular which contains np-prime and file like .js, .css, .html, .ts.

3. we have install NodeJS, npm, Aurelia, gulp.js using node prompt.

4. download Thingworx sdk extension from PTC download page as mention in http://support.ptc.com/help/thingworx_hc/visual_sdk/#download-and-installation.

5. while running sdk it asking GitHub credentials, which we don't have access.

npm install twx-wc-sdk/ptcs-library

6. Below command throwing error as "non-recognized" or internal external command:

  • Open a command prompt, and then change your directory to your working folder.
  • Run the following command to create the extension:

    mub
    

 

we have tried to create sample extension and following this guide http://support.ptc.com/help/thingworx_hc/visual_sdk/#download-and-installation.

we have done all installation but while running 'mub' utility command getting error which is enclosed in attachment.

 

Please guide us and let us know the way to overcome this error.

 

Regards,

Mayank 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Facing issue on Widget Extension packaging for Thingworx using npm.

Mayank,

 

There is no sdk utility for 8.5.  Only for 9.0 (you'll see under the downloads for the 9.0 release there is a ThingWorx Web Component SDK Utility).  The 'mub' program needs that utility to work, but regardless, the custom web-component widgets will not work for versions below ThingWorx 9.0 . 

View solution in original post

3 REPLIES 3

Re: Facing issue on Widget Extension packaging for Thingworx using npm.

Mayank,

 

You mentioned that you downloaded the SDK, but did you also grab the web-component-SDK-utility?  That part is described here:

 

http://support.ptc.com/help/thingworx_hc/visual_sdk/Extension_Tool/Using_The_SDK_Utility_To_Create_A...

 

Also, from your drag-and-drop post you mentioned that you are on ThingWorx 8.5 ... unfortunately the web-component SDK only works for TWx 9.0 and above.

Re: Facing issue on Widget Extension packaging for Thingworx using npm.

yeah we were not able to find mentioned "twx-wc-sdk-utility" zip. so we tried all zip extension from download portal.

 

and yes we have 8.5 Thingworx version. we were not able to run 'mub' command and use this sdk utility for extension build.

 

We tried lot many ways still not succeed.

 

 

Re: Facing issue on Widget Extension packaging for Thingworx using npm.

Mayank,

 

There is no sdk utility for 8.5.  Only for 9.0 (you'll see under the downloads for the 9.0 release there is a ThingWorx Web Component SDK Utility).  The 'mub' program needs that utility to work, but regardless, the custom web-component widgets will not work for versions below ThingWorx 9.0 . 

View solution in original post

Announcements

Check out the upcoming Expert Session: Understanding ThingWorx Navigate Licensing in Community "Customer Events" section.