Closed vikram-rajput closed 6 years ago
I've been unable to repro your problem, my test machine was on a mac.
Can you provide more details, version of npm, yarn, dev machine, etc as without this information we will be guessing.
Hi Mike,
Thanks for reply. i am trying to run react-vr app on 64 bit Windows 8.1 machine. node version : 8.9.4 npm : 5.6.0 yarn : v0.27.5
Hi Mike,
I found problem, the port number 8081 is being used by mcAfee Antivirus. i have made changes in node node_modules/react-native/local-cli/server/server.js default port no to 8087
now its working.
Thanks
good resolve
another solution i found: insted of npm start we can run command
npm start --port 8087
(in this case no need to change any module files.)
Description
i have tried to run example react-vr app i have followed all the steps in getting started guide
getting started
npm install -g react-vr-cli react-vr init WelcomeToVR cd WelcomeToVR npm start
Open your browser to http://localhost:8081/vr/index.html.
but it gives me 403 Forbidden
in terminal it shows
`$ npm start
open browser at http://localhost:8081/vr/
┌────────────────────────────────────────────────────────────────────────────┐ │ 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 D:\hgs-project\JAN2018\reactVR\vrApp
React packager ready.
Loading dependency graph, done. `