New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"The parameter is incorrect" when launching URLs on Windows 10 Insider Preview (17677.rs_prerelease.180520-0940) #95
Comments
I've confirmed that on a non insider preview of Windows 10, all is fine. On a clean Windows 10 install, upgraded to insider preview 17677, with installation of Google Chrome, & NodeJS 10.3 being the only changes the error is present, so it seems something has changed in the commands. Running the following from cmd:
Produces "Access is denied" And from powershell:
Also "Access is denied". Just to check, I also ran the commands as administrator, and got access denied. So currently, not sure if this is a bug in the insider preview, or a permanent change of behaviour which will need a fix here. |
Looks like changes were made to
Also, it seems when the default browser is Edge, it works (to open in edge), but not Chrome or Firefox. I have reported this to Microsoft, I will report back if/when there's feedback and if any changes are needed here. |
Just to state that I've found this same issue while running testcafe which also uses opn. I've subscribed to this and can help test out a potential fix when it comes out (or provide any more debugging feedback if necessary). |
The windows release RS5 (17723) solved it for me. |
Steps to recreate:
node test.js
package.json:
test.js:
Expected - Google opens in the browser set as default
Actual result - Error message "The parameter is incorrect", with the following output from the console:
I'm currently setting up a VM to test on the latest non insider preview of Win10, then on the insider preview in a clean environment to ensure it's not an issue with my setup.
The text was updated successfully, but these errors were encountered: