You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since upgrading to Gatsby 2.13 my windows users have been getting the error mentioned in the title. I actually opened an issue about this before here but closed it because I could not reproduce on a fresh repo.
I decided to try this again and managed to find the bug this time. Its coming from test-require-error.js in this code:
I know its a bit gross but I didn't want to mess with the giant regex above. There is probably a better way to fix this, but just wanted to let you guys know.
Thanks!
The text was updated successfully, but these errors were encountered:
We get a lot of issues, so we currently close issues after 30 days of inactivity. It’s been at least 20 days since the last update here.
If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not stale" to keep this issue open!
As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out gatsby.dev/contribute for more information about opening PRs, triaging issues, and contributing!
Thanks for being a part of the Gatsby community! 💪💜
gatsbotbot
added
the
stale?
Issue that may be closed soon due to the original author not responding any more.
label
Sep 25, 2019
It’s been 30 days since anything happened on this issue, so our friendly neighborhood robot (that’s me!) is going to close it.
Please keep in mind that I’m only a robot, so if I’ve closed this issue in error, I’m HUMAN_EMOTION_SORRY. Please feel free to reopen this issue or create a new one if you need anything else.
As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out gatsby.dev/contribute for more information about opening PRs, triaging issues, and contributing!
Thanks again for being part of the Gatsby community!
Hi there!
Since upgrading to Gatsby 2.13 my windows users have been getting the error mentioned in the title. I actually opened an issue about this before here but closed it because I could not reproduce on a fresh repo.
I decided to try this again and managed to find the bug this time. Its coming from
test-require-error.js
in this code:The error messaged generated on some windows machines contains two backslashes instead of one, like this:
but the regex is only testing for a single backslash, causing a false negative.
I managed to fix it by changing
firstLine
to this:I know its a bit gross but I didn't want to mess with the giant regex above. There is probably a better way to fix this, but just wanted to let you guys know.
Thanks!
The text was updated successfully, but these errors were encountered: