Created
September 11, 2018 08:58
-
-
Save Visionchen/c0909dfe7a35511987c258f7066fc6b6 to your computer and use it in GitHub Desktop.
解决运行中断
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### 找到目录 | |
| ```javascript | |
| node_modules\react-native\local-cli\server\server.js | |
| const startedCallback = logReporter => { | |
| logReporter.update({ | |
| type: 'initialize_started', | |
| port: args.port, | |
| projectRoots: args.projectRoots, | |
| }); | |
| process.on('uncaughtException', error => { | |
| logReporter.update({ | |
| type: 'initialize_failed', | |
| port: args.port, | |
| error, | |
| }); | |
| //process.exit(11);注释掉当前行 | |
| }); | |
| }; | |
| ``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment