profile
viewpoint

Ask questionsStarting React packager from VSCode fails

Actual Behavior

Stop packager, followed by start packager fails

Expected Behavior

It should start. I restarted my computer and all of the sudden it fails every time. But it works with the command line.

Software versions

  • React-Native VS Code extension version: 0.10.0
  • VSCode version: Version 1.36.0
  • OS platform and version: Mac 10.14.5
  • NodeJS version: v12.1.0
  • React Native version: react-native-cli: 2.0.1 react-native: 0.60.0

Outputs (Include if relevant)

  • Output of the Debug Console (View -> Toggle Debug Console):

[Warning] Error: Packager is not running

[Error] Failed to start the React Native packager (error code 106)

Stack: Error: Failed to start the React Native packager (error code 106): Can't get fulfillment value from any promise, all promises were rejected.
	at Function.getWrappedError (/Users/ryanauger/.vscode/extensions/msjsdiag.vscode-react-native-0.10.0/src/common/error/internalError.js:35:16)
	at Function.wrapError (/Users/ryanauger/.vscode/extensions/msjsdiag.vscode-react-native-0.10.0/src/common/error/errorHelper.js:17:44)
	at handleErrors.resultOfCode.done.reason (/Users/ryanauger/.vscode/extensions/msjsdiag.vscode-react-native-0.10.0/src/common/entryPointHandler.js:43:72)
	at _rejected (/Users/ryanauger/.vscode/extensions/msjsdiag.vscode-react-native-0.10.0/node_modules/q/q.js:844:24)
	at /Users/ryanauger/.vscode/extensions/msjsdiag.vscode-react-native-0.10.0/node_modules/q/q.js:870:30
	at Promise.when (/Users/ryanauger/.vscode/extensions/msjsdiag.vscode-react-native-0.10.0/node_modules/q/q.js:1122:31)
	at Promise.promise.promiseDispatch (/Users/ryanauger/.vscode/extensions/msjsdiag.vscode-react-native-0.10.0/node_modules/q/q.js:788:41)
	at /Users/ryanauger/.vscode/extensions/msjsdiag.vscode-react-native-0.10.0/node_modules/q/q.js:604:44
	at runSingle (/Users/ryanauger/.vscode/extensions/msjsdiag.vscode-react-native-0.10.0/node_modules/q/q.js:137:13)
	at flush (/Users/ryanauger/.vscode/extensions/msjsdiag.vscode-react-native-0.10.0/node_modules/q/q.js:125:13)
	at process._tickCallback (internal/process/next_tick.js:61:11)

microsoft/vscode-react-native

Answer questions animaonline

Me2

useful!
source:https://uonfu.com/
Github User Rank List