Error on starting 'Start_win" - cmd

4 posts, 0 answers
  1. Tushar
    Tushar avatar
    4 posts
    Member since:
    Nov 2012

    Posted 08 Aug 2014 Link to this post

    Hi, I am getting the follwoing error on running start_win through cmd.

    Error: { [Error: spawn ENOENT] code: 'ENOENT', errno: 'ENOENT', syscall: 'spawn'
     }

    Please refer the attached screenshot.

    Can anyone help me on this?
  2. Boyan Boev
    Admin
    Boyan Boev avatar
    1039 posts

    Posted 12 Aug 2014 Link to this post

    Hi Tushar,

    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,
    Boyan Boev
    Telerik
     
    Test your Android and iOS apps against any device or browser with Telerik Mobile Testing. Part of the Telerik Platform.
     
  3. Tushar
    Tushar avatar
    4 posts
    Member since:
    Nov 2012

    Posted 12 Aug 2014 in reply to Boyan Boev Link to this post

    Thanks Boyan. But i am not able to find the mentioned files\folders. I tried installing on another machine  and it was a success but when i am doing it on my machine, i am getting the  same error . I have  tried reinstalling Nodejs multiple times but to no avail.

    Thanks,
    Tushar
  4. Shtilianov
    Admin
    Shtilianov avatar
    6 posts

    Posted 12 Aug 2014 Link to this post

    Hi Tushar,

    In your case the folders where the modules are (or should be) installed are C:\TelerikMobileTesting\Telerik Mobile Testing\bin\cli\node_modules and
    C:\TelerikMobileTesting\Telerik Mobile Testing\bin\node_modules
    If there are no such folders at all this means that npm install totally failed.
    If that's the case can you go to C:\TelerikMobileTesting\Telerik Mobile Testing\bin and type "npm install" and see the exact errors.
    If this does not work for some reason, we don't really have any control over npm package manager, you can open the successful installation you made on that other machine and copy
    bin\cli\node_modules and bin\node_modules manually. There are just a bunch of libraries in those folders which usually are downloaded Live using npm so copying them manually shouldn't be a problem.

    Regards,
    Miroslav Shtilianov
    Telerik
     
    Test your Android and iOS apps against any device or browser with Telerik Mobile Testing. Part of the Telerik Platform.
     
Back to Top