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

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Error: Cannot find module 'winston' Thingworx studio 8.1.1

mbabu1
1-Visitor

Error: Cannot find module 'winston' Thingworx studio 8.1.1

my thingworx studio throughing an error saying that it can find the winstone module

This is the Error log

[11/20/2017 11:52:16] Studio Version 8.1.1 (8.1.1.2213)

[11/20/2017 11:52:16] Status Message: Version 8.1.1 (8.1.1.2213)

[11/20/2017 11:52:16] Checking for updates from https://studio-download.vuforia.io/downloads/ThingworxMobileBuilderApp.application

[11/20/2017 11:52:17] Starting node.exe

[11/20/2017 11:52:19] module.js:529

[11/20/2017 11:52:19]     throw err;

[11/20/2017 11:52:19]     ^

[11/20/2017 11:52:19]

[11/20/2017 11:52:19] Error: Cannot find module 'winston'

[11/20/2017 11:52:19]     at Function.Module._resolveFilename (module.js:527:15)

[11/20/2017 11:52:19]     at Function.Module._load (module.js:476:23)

[11/20/2017 11:52:19]     at Module.require (module.js:568:17)

[11/20/2017 11:52:19]     at require (internal/module.js:11:18)

[11/20/2017 11:52:19]     at Object.<anonymous> (C:\Users\test01\AppData\Roaming\ThingworxStudio\studio-download.vuforia.io\dist\server\utils\logging.js:22:17)

[11/20/2017 11:52:19]     at Module._compile (module.js:624:30)

[11/20/2017 11:52:19]     at Object.Module._extensions..js (module.js:635:10)

[11/20/2017 11:52:19]     at Module.load (module.js:545:32)

[11/20/2017 11:52:19]     at tryModuleLoad (module.js:508:12)

[11/20/2017 11:52:19]     at Function.Module._load (module.js:500:3)

Can anyone help me solving this....

2 REPLIES 2
tmccombie
21-Topaz I
(To:mbabu1)

Hi Mahesh. Please provide your full log file so that I can review it. Thanks!

sdidier
17-Peridot
(To:mbabu1)

Hello Mahseh,

I have seen the same exception with another customer in Thingworx Studio 8.1.1 and we found a solution in Thingworx Studio 8.1.2.

This customer uses a network user folder in Windows.

End users had multiple workstations and laptops where Thingworx Studio run ; one for each computer.

So, when uninstalling a new version, and at the same time another ThingWorx Studio is running on another computer for same user.

ThingWorx Studio tries to write in the same log file!

It is not possible and we have an error in a dialogbox who explains that it is not possible to write in the file twx-studio.log.

When checking the path and the file, they exists.

It is not possible to delete the twx-studio.log file.

A lock already exists on it.

    Can you confirm that you have the same configuration, please ?

    If the answer is yes, does the solution below help you ?

Thanks in advance for your feedback.

Best regards,

Samuel

Announcements

Top Tags