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

Error on starting 'Start_win" - cmd

3 Answers 39 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.
Tushar
Top achievements
Rank 1
Tushar asked on 08 Aug 2014, 11:24 AM
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?

3 Answers, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 12 Aug 2014, 11:58 AM
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.
 
0
Tushar
Top achievements
Rank 1
answered on 12 Aug 2014, 12:06 PM
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
0
Shtilianov
Telerik team
answered on 12 Aug 2014, 02:48 PM
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.
 
Tags
General Discussions
Asked by
Tushar
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
Tushar
Top achievements
Rank 1
Shtilianov
Telerik team
Share this question
or