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

Bug in Gatsby? #17

Closed
shijingl opened this issue Apr 25, 2019 · 7 comments
Closed

Bug in Gatsby? #17

shijingl opened this issue Apr 25, 2019 · 7 comments

Comments

@shijingl
Copy link

shijingl commented Apr 25, 2019

Thanks so much for sharing v4 publicly. It looks amazing.

But when I tried to run "yarn start" on my own computer, I encountered an error:
image

A little bit of research on google shows to me that this might be a bug on Gatsby:
gatsbyjs/gatsby#11688

Does anybody encounter the same issue? May I ask how's resolved?

Thanks a lot!

@xianrusso
Copy link

I've been running into the same issue. Upon reaching the "graphql" section of the tutorial, my code throws this error too.

What OS are you running?

I'm currently using Windows 10, so I'm wondering if that could be a part of the problem(?)

@jaredjasonpeters
Copy link

Running into similar issues running on Windows 10 as well.

@shijingl
Copy link
Author

shijingl commented Apr 26, 2019

@xianrusso
I think you are right. I have tried it on Ubuntu (18.04) and Windows 10.
It runs well on Ubuntu but it doesn't run on Windows 10.

Something wrong with Windows 10.

@jaredjasonpeters
Copy link

@shijingl
I ran my code from a directory located on my desktop in Windows 10 and it fails; however, when I move the code to a location in the Documents directory it runs perfectly well. It must have something to do with the way the Desktop path is resolved.

If you are running your directory from your Desktop I would change locations on your filesystem and see if that works.

Rather annoying bug and the error doesn't necessarily help at all.

@elektracodes
Copy link

elektracodes commented Apr 26, 2019

Same here! Windows 10 too. You are actually right. It works from inside the Document Folders, but why? I made all my folders and files to lowercase without special characters and still did not work.

@jaredjasonpeters
Copy link

My best guess is

In modern Windows versions, including Windows 10, the Desktop folder contents are stored in two locations. One is the "Common Desktop", located in the folder C:\Users\Public\Desktop. The other one is a special folder in the current user profile, %userprofile%\Desktop.

If someone actually knows why this happens I would love to know.

@bchiang7
Copy link
Owner

Hi all, unfortunately I don't have a windows machine to test this on, but it seems like a Gatsby issue and not an issue with anything in this repository. I'm going to close this unless someone has anything helpful to add!

harshagudem pushed a commit to harshagudem/v1.harsha that referenced this issue Aug 10, 2024
…yarn/follow-redirects-1.14.8

Bump follow-redirects from 1.14.7 to 1.14.8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants