Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

Launching Firefox and Chrome both fail on Windows 10 #749

Closed
digitarald opened this issue Oct 9, 2017 · 4 comments
Closed

Launching Firefox and Chrome both fail on Windows 10 #749

digitarald opened this issue Oct 9, 2017 · 4 comments
Labels

Comments

@digitarald
Copy link

Running yarn start in Git Bash, navigating to launchpad, I only get a promise error when clicking launch Firefox:

(node:28400) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Could not locate Firefox on the current system
(node:28400) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:28400) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 1)

Different error happens when launching Chrome:

Error: spawn UNKNOWN
    at _errnoException (util.js:1019:11)
    at ChildProcess.spawn (internal/child_process.js:325:11)
    at Object.exports.spawn (child_process.js:494:9)
    at handleLaunchRequest (C:\Users\micro\dev\debugger.html\node_modules\devtools-launchpad\src\server\launch.js:35:8)
    at Layer.handle [as handle_request] (C:\Users\micro\dev\debugger.html\node_modules\express\lib\router\layer.js:95:5)
    at next (C:\Users\micro\dev\debugger.html\node_modules\express\lib\router\route.js:137:13)
    at Route.dispatch (C:\Users\micro\dev\debugger.html\node_modules\express\lib\router\route.js:112:3)
    at Layer.handle [as handle_request] (C:\Users\micro\dev\debugger.html\node_modules\express\lib\router\layer.js:95:5)
    at C:\Users\micro\dev\debugger.html\node_modules\express\lib\router\index.js:281:22
    at Function.process_params (C:\Users\micro\dev\debugger.html\node_modules\express\lib\router\index.js:335:12)

@digitarald digitarald added the bug label Oct 9, 2017
@digitarald
Copy link
Author

digitarald commented Oct 9, 2017

Chrome issue is probably related to yarnpkg/yarn#3848, as https://github.com/devtools-html/devtools-core/blob/master/packages/devtools-launchpad/src/server/launch.js#L35 tries to execute the JS file and Windows doesn't know about the shebang notation.

@sukrosono
Copy link
Contributor

For clarity, kindly remove 10 from windows 10. Since i verify it also fail on win 8. I wait pr number 775 land to work on. FF fail, perhaps the problem on the ff driver.js.

@sukrosono
Copy link
Contributor

does /claim work here? I am in progress

@jasonLaster
Copy link
Contributor

haha - the bot is not here. i'll summon it

sukrosono added a commit to sukrosono/devtools-core that referenced this issue Nov 10, 2017
nchevobbe pushed a commit that referenced this issue Feb 19, 2018
@claim claim bot removed the in progress label Dec 30, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants