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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Thingworx - Web Component Development (Guidelines)

atondorf
14-Alexandrite

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

 

ACCEPTED SOLUTION

Accepted Solutions
CharlesJi
15-Moonstone
(To:atondorf)

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
wcui
16-Pearl
(To:atondorf)

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

 

ashaban
12-Amethyst
(To:wcui)

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.

CharlesJi
15-Moonstone
(To:atondorf)

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

Announcements


Top Tags