-
-
Notifications
You must be signed in to change notification settings - Fork 207
Error Messages When Running yarn develop #28
Comments
Oh thats weird... those files are generated and used by |
Okay! Thanks for the quick response. I'll take a look around the gatsby repo to see if there were any other people with similar issues. |
Did you find a solution @scissorsneedfoodtoo? |
Yes, I was able to find a solution, but unfortunately it means shortening the slug by removing the superBlock from each, leaving them with just the block and title. However this would mean the URL for each page is more in line with beta. For example, beta is now:
Currently Learn is:
And by removing the superBlock would be:
We could always shorten the titles of the three challenges causing the error, too, but that doesn't seem ideal. Let me know what you think! In the meantime I'll keep looking around the gatsby repo to see if there's another solution. |
@scissorsneedfoodtoo thanks for confirming the issue. We should raise this in the gatsby repo so they can look at potential work-arounds, seeing as they are generated and used by There are a couple of reasons the url slug has changed from
I hope this clears up why things have changed in this respect 😁 |
@Bouncey, thank you for the explanation! That does certainly clear things up about the changes to the url slug. I especially like the idea of improved SEO and users hopefully being shown a list of all the blocks rather than being thrown into the thick of things. There was a similar issue that I found in the gatsby repo, similarly encrypted Linux system, too. I'll comment there and see about a work-around. |
@scissorsneedfoodtoo nice find! Could you link to it from here please so we can track it 👍 |
Sure! It's issue #4125 in the gatsby repo. I'll write a comment about the issue here a little later today. |
@scissorsneedfoodtoo Would you like to rename the challenges so that they allow contributors like you to work locally? |
@Bouncey, I think it's okay for now. @tchaffee and I are probably in the minority, and it's not a problem to edit the challenge names to work locally. Maybe if a lot of other users run into the same issue we can rename those challenges. Just to keep you posted about what's going on in the open issue in the Gatsby repo, @KyleAMathews suggested and algorithm to do the following:
Thought about offering to help implement the method above, but didn't want to mess with the SEO here. |
I am running Windows 10 Pro 64-bit, if you need me to try anything on windows, let me know. |
I'm going to go ahead and close this issue since it's so unlikely that others will run into it. Also, I've since reinstalled my OS without encryption and this issue no longer affects me. Just in case someone does have the same problem in the future, the workaround I used was to change these lines: Lines 14 to 16 in 2f3c21c
to the following:
Then running |
In case it helps someone, my workaround was to move the repo out of my home directory. |
@Bouncey, I saw Quincy announce this new web app over on Gitter. Can't wait to get it running and see how everything works!
However, when I run
yarn develop
, I get the following error:When I try to run
npm install --save ...
from the error message, I get an error from npm saying that the filename is too long. I believe it's because my home directory is encrypted, so filenames can only be ~143 characters.Is there an easy way to work around this limitation? Maybe change the way that the files are saved in .cache/json? I tried poking around the codebase to find a way to get the files to save folders and create a longer path / shorten the actual filenames, but wasn't able to figure out how to do so.
The text was updated successfully, but these errors were encountered: