You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ShowVer.exe does not return any browsers versions on Windows 10.
If you add an error logging in the exec callback you can see that the command returns a "Permission denied" error on Windows 10:
// Run ShowVer.exe and parse out ProductVersion key (Windows)if(process.platform==='win32'){varcommand=path.join('"'+__dirname,'..','..','resources','ShowVer.exe" "'+browser.command+'"');vardeferred=Q.defer();debug('Retrieving version for windows executable',command);// Can't use Q.nfcall here unfortunately because of non 0 exit codeexec(command,function(error,stdout){console.log('DEBUG:',error);// <-- Added loggingvarregex=/ProductVersion:\s*(.*)/;// ShowVer.exe returns a non zero status code even if it worksif(typeofstdout==='string'&®ex.test(stdout)){browser.version=stdout.match(regex)[1];debug('Found browser version',browser.name,browser.version);}returndeferred.resolve(browser);});returndeferred.promise;}
Output:
I have set the environment variables LAUNCHPAD_BROWSERS and LAUNCHPAD_FIREFOX, LAUNCHPAD_CHROME, LAUNCHPAD_EDGE.
The text was updated successfully, but these errors were encountered:
I'm having this issue on Windows 7 as well.
This is causing problems when using the web-components-tester (Polymer/tools#528)
As far as I understand, this happens when you set the environment variables, overriding the default paths.
The
ShowVer.exe
does not return any browsers versions on Windows 10.If you add an error logging in the
exec
callback you can see that the command returns a "Permission denied" error on Windows 10:https://github.com/bitovi/launchpad/blob/master/lib/local/version.js#L21
Output:
I have set the environment variables
LAUNCHPAD_BROWSERS
andLAUNCHPAD_FIREFOX
,LAUNCHPAD_CHROME
,LAUNCHPAD_EDGE
.The text was updated successfully, but these errors were encountered: