This is a migrated thread and some comments may be shown as answers.

Can't install mobile testing

3 Answers 103 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Odinko
Top achievements
Rank 1
Odinko asked on 08 Aug 2014, 11:02 AM
When I'm trying to install mobile testing, command line gives me this output:

Installing Telerik Testing HTML spec runner dependencies...
Installing `tmtest` command line tool...

Installation complete

Starting Telerik Mobile Testing...

module.js:340
    throw err;
          ^
Error: Cannot find module 'commander'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at a (F:\Progs\Telerik Mobile Testing\bin\cli\tmtest.js:2:11402)
    at Object.<anonymous> (F:\Progs\Telerik Mobile Testing\bin\cli\tmtest.js:2:15197)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)

3 Answers, 1 is accepted

Sort by
0
Accepted
Shtilianov
Telerik team
answered on 12 Aug 2014, 11:58 AM
Hello,

From the looks of that error, it looks like one of the node modules did not install correctly. You can reset the installation process by erasing the following folders:

Telerik Mobile Testing/bin/node_modules
Telerik Mobile Testing/bin/cli/node_modules

After doing this, running start_win.cmd should re-download all related node modules, including the one that failed to load properly.

Another thing you can try is to manually install the modules by going to F:\Progs\Telerik Mobile Testing\bin\ folder and typing "npm install".

Let me know if this helps.

Regards,
Miroslav
Telerik
 
Test your Android and iOS apps against any device or browser with Telerik Mobile Testing. Part of the Telerik Platform.
 
0
Odinko
Top achievements
Rank 1
answered on 13 Aug 2014, 08:32 AM
Thank you for the reply, manual install helped to point out the problem. Installation failed because of the problem described here:

http://stackoverflow.com/questions/25093276/nodejs-windows-error-enoent-stat-c-users-rt-appdata-roaming-npm
0
Boyan Boev
Telerik team
answered on 15 Aug 2014, 08:52 AM
Hello Владимир,

We are very happy to hear that.

If you need further assistance, please do not hesitate to contact us again.

Regards,
Boyan Boev
Telerik
 
Test your Android and iOS apps against any device or browser with Telerik Mobile Testing. Part of the Telerik Platform.
 
Tags
General Discussions
Asked by
Odinko
Top achievements
Rank 1
Answers by
Shtilianov
Telerik team
Odinko
Top achievements
Rank 1
Boyan Boev
Telerik team
Share this question
or