Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
Hi, I'm trying to build a widget using the Visual SDK on Thingworx 9.
I've already downloaded the required packages from the PTC Software Download page:
In the official tutorial the steps are 4:
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
Run the following command to install the utility:
npm link
Change your directory to the simple-el-widget/
folder that you created earlier (previously downloaded and unzipped
cd simple-el-widget
In the widget folder, run the following command to create the extension:
mub
An extension ZIP file is created and placed in the dist/
folder of your working directory. You are now ready to import the extension.
But the mub command gives me back this error:
Starting series of gulp tasks for the wrapping...
exec error: Error: Command failed: gulp --e --wd C:\CDM\GitLab Cloud\libraries\thingworx\thingworx-web-component-library\simple-el-widget
[10:12:30] Task never defined: Cloud\libraries\thingworx\thingworx-web-component-library\simple-el-widget
[10:12:30] To list available tasks, try running: gulp --tasks
Seems that in the widget folder the gold task file is missing.
There is anyone who already faced this error?
thanks,
Alessandro
Solved! Go to Solution.
Hi @AlessandroN ,
Looking at the error message, it might be because of the space in the folder name:
gulp --e --wd C:\CDM\GitLab Cloud\libraries\thingworx\thingworx-web-component-library\simple-el-widget
Can you rename the "GitLab Cloud" folder to something else? Like "GitLabCloud" and try again.
Hi @AlessandroN.
I see that you have another post on this topic which already has an accepted solution. Please confirm that you still need assistance on this one.
Regards.
--Sharon
It's another topic, this one refers to a different issue.
Please read the content.
Hi @AlessandroN ,
Looking at the error message, it might be because of the space in the folder name:
gulp --e --wd C:\CDM\GitLab Cloud\libraries\thingworx\thingworx-web-component-library\simple-el-widget
Can you rename the "GitLab Cloud" folder to something else? Like "GitLabCloud" and try again.
Hi, I changed the folder name removing the space and now it works!
Thank you very much @ashaban!