-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Uncaught TypeError: (0 , l.createLocation) is not a function #3496
Comments
MAJOR EDIT: After a few more hours of investigation, I have found and fixed the cause of the error. The problem is I had another version of ORIGINAL (and outdated) REPLY:
This appears to be a gatsby or webpack error, since the minimizing process is confusing the two objects. This is appears not to be a user error. Though, it could be environmental. My colleague (who is on vacation currently) is able to build just fine. I don't have his pinned versions, but I have tried with the latest Unfortunately, I'm blocked from performing my preproduction deployment, which is holding up testing, affecting my team's release. This is very frustrating
|
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub issues, we have to clean some of the old issues as many of them have already been resolved with the latest updates. Please make sure to update to the latest Gatsby version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 |
This issue is being closed because there hasn't been any activity for at least 30 days. Feel free to open a new one if you still experience this problem 👍 |
I am getting a production error that I can't reproduce in development and it is not giving me anywhere to start troubleshooting from.
Uncaught TypeError: (0 , l.createLocation) is not a function
When I browse to one of my markdownRemark pages it loads, but the console shows:
Uncaught Error: Minified React error #130
Everything works perfectly in development. It also works with no errors when I run
gatsby build
andgatsby serve
.I am only getting the error when I push the public folder to my server.
Environment
Gatsby version: 1.1.24
Node.js version: 8.9.4
Operating System: Linuxmint 18
The text was updated successfully, but these errors were encountered: