Thank you for clarifying the correct file path @peterp I was fairly certain that the file path was supposed to be ./web/src/components However, the tutorial specifies the file path as web/src/cells/ I am just going down the list of possible causes for my GraphQL error… Cheers
And, you know, that one still gets me, too. The methodology makes a ton of sense, but it’s just not as apparent/useable as it could be… or needs to be.
Any ideas? I’ve been continually noodling on this and still don’t have an answer.
Does this section of the Tutorial need updated or something? Everything was going very smoothly for me until I tried this part of the tutorial. Everything seemed to start going wrong starting from the “Using the Param” heading. Trying the stuff suggested there seemed to break the site & was very confusing so I have no clue how to fix it.
I tried using the files from https://github.com/cannikin/redwoodblog to see the final result but it is broken as well! It just shows the “Something went wrong” box.
Try looking for an error message in the terminal window that’s running yarn rw dev, any server-side errors will show there. Errors on the client side will show in the web inspector in your browser. Could you copy/paste any of those you find?
I just started playing around with all this yesterday, so I assume I was using the latest release.
I ended up scrapping the whole project with the intention of starting from scratch again next time I get the chance. I think I will probably skip this part next time because I don’t really care about using and ID number instead of a slug anyway.
I have been mulling over your question @thedavid At first I was thinking that differentiating between singular vs. plural could be done with a case change (e.g. PascalCase vs. camelCase). However, after reading this discussion I am not sure that would be the best path forward…
I do think that as RedwoodJS becomes increasingly popular and more folks are taking a stab at the tutorial my mistake could happen with a certain degree of frequency.
Perhaps for the tutorial the file path should be changed - BlogPostsCell becomes BlogMenuCell or BlogDirectoryCell for example and just leave BlogPostCell alone.
On a side note I deployed my tutorial! Link
It took me two plus weeks to deploy, not because of the tutorial quality, but because this dadgum quaratine is making my three year old son go stir crazy and consequently me too
@rob Continuing the thoughts re: Tutorial --> what if we made a change from BlogPostsCell to BlogAllPostsCell… or some addition of a word for any case where the Post vs Posts just gets muddled in a Tutorial format. We wouldn’t want to disturb the overall best practices. But I’d say this is probably 4/5ths of the tutorial issues we have now ('cause most bugs are fixed).
@Isaac-Tait nice work on the deploy And fun to see you’re into gravel bikes. Looking at my next build being either Outback steel or maybe even the Outback breakaway!!
I need to get on it! I guess there’s no time to build like quarantine time
And our very own @rob is in your area. There’s a few of us who have threatened to drop in on him for a mtn bike “retreat”. Maybe this idea needs to turn into an official RedwoodJS Meetup --> offroad style
Mountain biking you say?? Where are you in SD @Isaac-Tait? I’m in North County, San Marcos. When they built our community the builder had to create trails at the same time so we’ve got some great stuff right out my front door. Here’s one of my favorites: https://www.trailforks.com/ridelog/view/11656866/
We are practically neighbors @rob I live on Pendleton
I love San Marcos, quaint downtown, lots of outdoor space, and some epic riding. A month or so back I mountain biked at Rancho La Costa Reserve for the first time. I have done some road/gravel riding in the Elfin Forest too.
Once this quarantine is lifted I will have to check out the trails on your ride - 1,200’ of climbing in 5 miles!? Sign me up!
I’ve got a Specialized Turbo Levo so I’m letting technology do some of the work for me. I still get a crazy good workout, though. But without the motor I probably wouldn’t bother with that route, it’s all uphill on the way home and I don’t think my lungs would survive!