Comments (7)
Hmm, they may be related. Since you're on a Mac, I recommend installing Watchman, as described here: https://facebook.github.io/react-native/docs/getting-started.html
Watchman is a much more efficient filesystem watcher than the one that ships in Node, or native solutions like chokidar. It should resolve those file-watching errors, and will definitely make the actually development much faster.
from react-360.
I'm assuming you've also already tried blowing away the node_modules
folder and retrying npm install
?
from react-360.
Node conveniently has no documentation around exit code 11, so I'm working a bit blindly here, but 11 is typically associated with segfaults in other contexts. I notice you're running 7.0.0. Do you mind trying to update Node? I know the RN packager had a number of issues with 7.0.0
from react-360.
I tried using Node v7.2.1, 6.9.2, neither work. I tried but failed running it on port 3000 as well via:
npm start --port=3000
I also get this error, which I'm not familiar with. It may just be junk, I don't know.
2016-12-15 21:14 node[31591] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2016-12-15 21:14 node[31591] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2016-12-15 21:14 node[31591] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2016-12-15 21:14 node[31591] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
ERROR Error watching file for changes: EMFILE
{"code":"EMFILE","errno":"EMFILE","syscall":"Error watching file for changes:","filename":null}
Error: Error watching file for changes: EMFILE
at exports._errnoException (util.js:1022:11)
at FSEvent.FSWatcher._handle.onchange (fs.js:1406:11)
from react-360.
I tried blowing away node_modules on 6.9.2 and 7.2.1, and neither worked.
I installed Watchman, blew away the node-modules, npm install, and then it didn't crash. I went to the URL http://localhost:8081/vr/ and it loaded.
I don't know why that was the solution, but it might be something to add to the documentation for a later note. As of right now I use React.js, not React Native, so didn't think of that. Thanks for the help.
from react-360.
Thanks, I'll be sure to update the documentation to clarify that we're using the packager from React Native, and probably add a section about Watchman for Mac/Linux users. For the initial documentation, we didn't want the setup process to be too overwhelming, since things should work without Watchman, but it drastically improves the experience.
from react-360.
thanks @andrewimm , install watchman solve my problem
from react-360.
Related Issues (20)
- How to read cursor position
- react 360 is not working in windows whlie using node.12.14.1 and react16.3.1 HOT 4
- How to add a simple static button over react-360?
- how can I exactly create 360 video with react 360? HOT 1
- I can use the device camera as background with React-360?
- Creating a gitter or discord server for the open source contributors.
- how to run the dev server on windows ?
- Is it possible to make an effect as if a viewer is moving around the space? HOT 1
- Maintained? HOT 9
- Environment.setBackground gives an error
- It's possible to pass `-h` as a folder name
- starting issue HOT 4
- React-360 Camera Movement on Mobile Devices HOT 1
- render pano image by layers
- If you're going to revoke patents, at least remove it from the README HOT 1
- Can we add popup window to screenspace instead of world space? HOT 1
- Using document object or jquery inside react 360 component HOT 1
- Model animations load and play
- unable to run react vr http://localhost:8081/vr/ HOT 3
- React360 is incompatible with Oculus Quest HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-360.