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

Thingworx Studio install error

SOLVED
rds
Visitor

Thingworx Studio install error

I am getting an error message when trying to install Thingworx Studio, see attached screenshot and log. Can anyone advise how to fix this?Capture.jpg

[05/28/2018 09:56:32] Studio Version 8.2.3 (8.2.3.3224)
[05/28/2018 09:56:32] Status Message: Version 8.2.3 (8.2.3.3224)
[05/28/2018 09:56:32] Status Message: Performing setup (Application)...
[05/28/2018 09:56:32] Unzipping mbdist.zip to C:\Users\gavin.donald\AppData\Roaming\ThingworxStudio\studio-download.vuforia.io\
[05/28/2018 09:56:33] Skipping Zero Byte File: dist\client\extensions\css\
[05/28/2018 09:56:33] Skipping Zero Byte File: dist\client\extensions\html\
[05/28/2018 09:56:33] Skipping Zero Byte File: dist\client\extensions\images\
[05/28/2018 09:56:33] Skipping Zero Byte File: dist\client\extensions\js\
[05/28/2018 09:56:38] Status Message: Performing setup (Libraries)...
[05/28/2018 09:56:38] Unzipping mbmodules.zip to C:\Users\gavin.donald\AppData\Roaming\ThingworxStudio\studio-download.vuforia.io\
[05/28/2018 09:59:29] Skipping Zero Byte File: node_modules\protobufjs\cli\node_modules\
[05/28/2018 10:00:22] Starting node.exe
[05/28/2018 10:00:22] error: [twx-studio:index] uncaughtException Error: HOME directory does not exist. Environment variable HOME=C:\Program Files\LFM Software\LFM\home Fix the env variable and relaunch studio.
[05/28/2018 10:00:22] ThingWorxStudio dir: C:\Program Files\LFM Software\LFM\home\Documents\ThingWorxStudio, home dir: C:\Program Files\LFM Software\LFM\home\Documents
[05/28/2018 10:00:22]     at _verifyHomeDir (C:\Users\gavin.donald\AppData\Roaming\ThingworxStudio\studio-download.vuforia.io\dist\server\commonProperties.js:37:11)
[05/28/2018 10:00:22]     at Object.<anonymous> (C:\Users\gavin.donald\AppData\Roaming\ThingworxStudio\studio-download.vuforia.io\dist\server\commonProperties.js:40:1)
[05/28/2018 10:00:22]     at Module._compile (module.js:624:30)
[05/28/2018 10:00:22]     at Object.Module._extensions..js (module.js:635:10)
[05/28/2018 10:00:22]     at Module.load (module.js:545:32)
[05/28/2018 10:00:22]     at tryModuleLoad (module.js:508:12)
[05/28/2018 10:00:22]     at Function.Module._load (module.js:500:3)
[05/28/2018 10:00:22]     at Module.require (module.js:568:17)
[05/28/2018 10:00:22]     at require (internal/module.js:11:18)
[05/28/2018 10:00:22]     at Object.<anonymous> (C:\Users\gavin.donald\AppData\Roaming\ThingworxStudio\studio-download.vuforia.io\dist\server\services\initializer.js:10:16)

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Thingworx Studio install error

@rds Do you see same behavior when you open URL http://localhost:3000/home in Chrome browser ?

-Durgesh

11 REPLIES 11

Re: Thingworx Studio install error

@rds From the error it seems to be issue with environment variable or user profile who launched the installer.

 

[05/28/2018 10:00:22] error: [twx-studio:index] uncaughtException Error: HOME directory does not exist. Environment variable HOME=C:\Program Files\LFM Software\LFM\home Fix the env variable and relaunch studio.

 

Could you please retry Installation by right click on installer and doing "Run as Administrator". Also, Delete the files under <user home>\AppData\Local\Apps\2.0\ and re-install the studio exe file.
The AppData directory is an hidden directory, make sure to enable 'view hidden files' windows configuration. 

 

-Durgesh

Re: Thingworx Studio install error

Capture 2.JPGHi Durgesh,

 

Thanks for your reply. I tried doing what you suggested and I also recruited the help of my IT department but still no luck. For some reason the installer is looking for a "home" folder in the LFM software directory. We manually created this folder (not understanding why) and the installer progressed past the previous sticking point. I clicked the Open button and it opened an IE window with address http://localhost:3000/ but all it's just a blank page and nothing happens. See screenshots I've attached and log.

 

 

 

Re: Thingworx Studio install error

@rds Do you see same behavior when you open URL http://localhost:3000/home in Chrome browser ?

-Durgesh

Re: Thingworx Studio install error

Yes it works in Chrome, thanks for suggesting that. Now the only problem I'm having is trying to configure and connect to the Developer Portal account so I can access projects and get the ThingMark. I've entered the correct email address and password but I get an Auto configure failed message, see attached.

Re: Thingworx Studio install error

@rds Good to know it worked on Chrome since at this point of time only Chrome browser is supportable with Studio.

 

Do you see any errors in Studio application logs when you try auto configure ? Please attach logs post auto configuration attempt and share your User ID been used.

 

-Durgesh

Re: Thingworx Studio install error

can you tell me where I can access the logs please? Then I will send to you. Thanks

Re: Thingworx Studio install error

Hello
I also encountered the same problem
Is there a way to find a solution?
thanks

Re: Thingworx Studio install error

@rds:  From the Studio launcher you can click View Logs to get the application log (PFA) . Otherwise, on disk it can be located under similar path -C:\Users\<username>\Documents\ThingWorxStudio\twx-studio.log.

Note: It could be in different directory based on your default user profiles.

 

-Durgesh

Re: Thingworx Studio install error

@rds@borisW : I also got to know that there was some issue reported with Trial auto configuration service and has been resolved. Could you please try now and share your feedback.

 

Also, in case of still having issues, please provide studio application log to review.

 

-Durgesh