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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Visual SDK - Gulp Error - task_modifyPtcsMoment

Zetoine
4-Participant

Visual SDK - Gulp Error - task_modifyPtcsMoment

In the official tutorial the steps are 4:

  1. Open a command prompt, then change the current directory to the location on your system where you extracted the SDK utility:

    cd twx-wc-sdk-utility
  2. Run the following command to install the utility:

    npm link
  3. Change your directory to the simple-el-widget/ folder that you created earlier (previously downloaded and unzipped

    cd simple-el-widget
  4. In the widget folder, run the following command to create the extension:

    mub

     

     

    and i've the error : 

    exec error: Error: Command failed: gulp --e --wd D:\WORK_THINGWORX\simple-el-widget
    [11:46:40] 'task_modifyPtcsMoment' errored after 2 ms
    [11:46:40] Error: ENOENT: no such file or directory, rename 'D:\WORK_THINGWORX\simple-el-widget\tmp\build\wc\ptcs-moment\moment-import.js' -> 'D:\WORK_THINGWORX\simple-el-widget\tmp\build\wc\ptcs-moment\moment-import.js.sdk'
    [11:46:40] 'default' errored after 6.84 s

     

    could you help me ?

2 REPLIES 2
Zetoine
4-Participant
(To:Zetoine)

I forgot to notice that i've no 'tmp\build\wc\ptcs-moment' folder , i've no 'build' folder at all in 'tmp'

 

in Thingworx 9.2

npm 8.6.0

node 14.16.1

 

VladimirN
24-Ruby II
(To:Zetoine)

 Hi,

 

Found an article with a similar error - "No such file or directory error during Navigate configurator run for PingFederate SSO": https://www.ptc.com/en/support/article/cs363187 

Top Tags