Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XCode build and run fails because of root_files missings #3510

Closed
WikiOops opened this issue Oct 19, 2015 · 3 comments
Closed

XCode build and run fails because of root_files missings #3510

WikiOops opened this issue Oct 19, 2015 · 3 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@WikiOops
Copy link

I, a react-native noob. got errors of watchman when build and run xcode:
Experts, how to avoid it? Should I disable root_files ?
Thanks in advance.

screen shot 2015-10-19 at 2 34 28 am

React packager ready.

ERROR resolve_projpath: none of the files listed in global config root_files are present in path /Users/zhou/react/PropertyFinder or any of its parent directories
{"watchmanResponse":{"version":"3.8.0","error":"resolve_projpath: none of the files listed in global config root_files are present in path /Users/zhou/react/PropertyFinder or any of its parent directories"}}
Error: resolve_projpath: none of the files listed in global config root_files are present in path /Users/zhou/react/PropertyFinder or any of its parent directories
at BunserBuf. (/Users/zhou/react/PropertyFinder/node_modules/react-native/node_modules/sane/node_modules/fb-watchman/index.js:93:23)
at emitOne (events.js:77:13)
at BunserBuf.emit (events.js:169:7)
at BunserBuf.process (/Users/zhou/react/PropertyFinder/node_modules/react-native/node_modules/bser/index.js:289:10)
at /Users/zhou/react/PropertyFinder/node_modules/react-native/node_modules/bser/index.js:244:12
at doNTCallback0 (node.js:417:9)
at process._tickCallback (node.js:346:13)

@javache
Copy link
Member

javache commented Oct 19, 2015

Can you try adding add a .watchmanconfig to the root of your repository with {} as its contents? See #2042 for details.

@WikiOops
Copy link
Author

Thanks. It works, and has got fixed.

@bvaughn
Copy link
Contributor

bvaughn commented Nov 20, 2017

Can you try adding add a .watchmanconfig to the root of your repository with {} as its contents?

Thanks! 2 years later, but this comment just helped me too. 😄

@facebook facebook locked as resolved and limited conversation to collaborators May 29, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

5 participants