Kill with -9 flag
Summary: There are reports in which kill as is doesn't kill the process. Using the '-9' flag does, so update troubleshoot message. Reviewed By: LukeDefeo Differential Revision: D49537427 fbshipit-source-id: a062c92528589cecf0f41e1c344c5d0ae1c3345d
This commit is contained in:
committed by
Facebook GitHub Bot
parent
1d29e06b76
commit
b8950a2298
@@ -50,7 +50,7 @@ export function createFlipperServerWithSocket(
|
||||
new Error(
|
||||
`Failed to connect to the server in a timely manner.
|
||||
It may be unresponsive. Run the following from the terminal
|
||||
'sudo kill $(lsof -t -i :52342)' as to kill any existing running instance, if any.`,
|
||||
'sudo kill -9 $(lsof -t -i :52342)' as to kill any existing running instance, if any.`,
|
||||
),
|
||||
);
|
||||
}, CONNECTION_TIMEOUT);
|
||||
|
||||
@@ -210,7 +210,7 @@ function handeEADDRINUSE(errorMessage: string) {
|
||||
<br />
|
||||
<br />
|
||||
Please try to kill the offending process by running{' '}
|
||||
<code>sudo kill $(lsof -ti:PORTNUMBER)</code> and restart flipper.
|
||||
<code>sudo kill -9 $(lsof -ti:PORTNUMBER)</code> and restart flipper.
|
||||
<br />
|
||||
<br />
|
||||
{errorMessage}
|
||||
|
||||
Reference in New Issue
Block a user