reacr-native start 成功后chrome中无法打开http://localhost:8081/index.android.bundle?platform=android



  • E:\web test\react-native\AwesomeProject>react-native start
    Scanning 551 folders for symlinks in E:\web test\react-native\AwesomeProject\node_modules (29ms)
    ┌────────────────────────────────────────────────────────────────────────────┐
    │ Running packager on port 8081. │
    │ │
    │ Keep this packager running while developing on any JS projects. Feel │
    │ free to close this tab and run your own packager instance if you │
    │ prefer. │
    │ │
    https://github.com/facebook/react-native
    │ │
    └────────────────────────────────────────────────────────────────────────────┘
    Looking for JS files in
    E:\web test\react-native\AwesomeProject

    Loading dependency graph...
    React packager ready.

    Loading dependency graph, done.
    Loading dependency graph...



  • 解决了,8081端口被httpd.exe占用了


登录后回复