Can't install mobile testing

4 posts, 1 answers
  1. Odinko
    Odinko avatar
    7 posts
    Member since:
    Jul 2014

    Posted 08 Aug 2014 Link to this post

    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)
  2. Answer
    Shtilianov
    Admin
    Shtilianov avatar
    6 posts

    Posted 12 Aug 2014 Link to this post

    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.
     
  3. Odinko
    Odinko avatar
    7 posts
    Member since:
    Jul 2014

    Posted 13 Aug 2014 in reply to Shtilianov Link to this post

    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
  4. Boyan Boev
    Admin
    Boyan Boev avatar
    1045 posts

    Posted 15 Aug 2014 Link to this post

    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.
     
Back to Top