-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
v14 tutorial doesn't match v14 reality #4242
Comments
@trumbitta If I recompile manually, it works correctly.
I couldn't quite figure out why the compiler is failing to start watch mode, but I am getting the following error message.
I hope it gets better soon, as it is a great library. |
I encountered the same issue as @trumbitta when I started the tutorial. I managed to resolve the issue by installing watchman. |
I installed watchman and it works. Also, Relay GraphQL's VSCode Extension now works and can jump to the fragment definition. Thanks! @remz99 |
I also had this problem, and installing watchman also fixed it. Just a heads up that I had to install it with Homebrew. I tried installing it with npm (both local and global) and it did not work. |
This problem still exists as originally described. |
Encountered same issue here. Seems the tutorial document should be mentioning this. |
… the tutorial (#4620) Summary: Address issues like #4301 and #4242 Add instructions for installing watchman to the tutorial. Testing: <img width="1308" alt="image" src="https://github.com/facebook/relay/assets/3454734/035b07db-30d0-4867-9246-7c400d8af3bf"> <img width="1323" alt="image" src="https://github.com/facebook/relay/assets/3454734/23d0e393-4144-49e5-8b95-9d306a98e033"> Pull Request resolved: #4620 Reviewed By: tyao1 Differential Revision: D54124996 Pulled By: monicatang fbshipit-source-id: 2bb51eeca2dd7a9c7a937b7aec20bd2c5aca9920
This code https://relay.dev/docs/tutorial/queries-1/#relay-and-the-type-system is supposed to type
data.topStory
, but after applying it we discoverdata.topStory
doesn't exist.data.topStories
exists in its stead, but I don't know how what's happening because I'm following the tutorial to learn about Relay 😬The text was updated successfully, but these errors were encountered: