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

Thingworx - Web Component Development (Guidelines)

SOLVED
atondorf
Amethyst

Thingworx - Web Component Development (Guidelines)

Hello everybody,

 

has anybody successfully tried the "new" way of developing thingworx extensions based on the twx_wc_sdk?

I followed this guide (http://support.ptc.com/help/thingworx_hc/visual_sdk/) up to the step:

npm install twx-wc-sdk/ptcs-library

This gives me an error:

npm ERR! Error while executing:
npm ERR! C:\Program Files\Git\cmd\git.EXE ls-remote -h -t ssh://git@github.com/twx-wc-sdk/ptcs-library.git
npm ERR!
npm ERR! Host key verification failed.
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.
npm ERR!
npm ERR! exited with error code: 128

Seem the repository at github is not valid.

 

Greetings

 

Andreas

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Thingworx - Web Component Development (Guidelines)

Hi @atondorf, seems like you didn't download the SDK files and put them into the twx-wc-sdk folder of your project directory.

 

You can find the SDK zip file now from PTC Software Download > ThingWorx Foundation 9.0 > ThingWorx Web Component SDK Library. (I think the zip name has been updated from the previous one ThingWorx Visual SDK)

 

Then you extract the content of MED-61348-CD-090_F000_WEB-Component-SDK-Library.zip to the twx-wc-sdk folder of your project directory (e.g., c:\<your_project>\twx-wc-sdk\).

 

After that, try the following command in the root path of your project (e.g., c:\<your_project>\):

npm install twx-wc-sdk/ptcs-library

View solution in original post

3 REPLIES 3

Re: Thingworx - Web Component Development (Guidelines)

Note: error happen when perform below section.

http://support.ptc.com/help/thingworx_hc/visual_sdk/#download-and-installation

Getting Started

Download and Installation

npm install twx-wc-sdk/ptcs-library

 

Re: Thingworx - Web Component Development (Guidelines)

Hi @wcui 

 

‘’Seems the project structure is wrong. Please confirm that in your project folder you have twx-wc-sdk­ folder and inside of it you have all ptcs components (ptcs components are the content of the zip file). npm install should be run from the project folder as well”.

 

Thanks,

Avihu.

Re: Thingworx - Web Component Development (Guidelines)

Hi @atondorf, seems like you didn't download the SDK files and put them into the twx-wc-sdk folder of your project directory.

 

You can find the SDK zip file now from PTC Software Download > ThingWorx Foundation 9.0 > ThingWorx Web Component SDK Library. (I think the zip name has been updated from the previous one ThingWorx Visual SDK)

 

Then you extract the content of MED-61348-CD-090_F000_WEB-Component-SDK-Library.zip to the twx-wc-sdk folder of your project directory (e.g., c:\<your_project>\twx-wc-sdk\).

 

After that, try the following command in the root path of your project (e.g., c:\<your_project>\):

npm install twx-wc-sdk/ptcs-library

View solution in original post

Announcements

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