Errors even when no code present: Call stack size / cannot read property
See original GitHub issueDescription
I have an issue I need help with that seems to have popped up a few times over the years. I have burned 8 hours, one full work day, and this is too much.
Backstory: Have a working page that needed updates. Unfortunately for some reason, after 2.5 months of no updates and no changes, it has stopped building, on both netlify and local development, throwing either
a) RangeError: Maximum call stack size exceeded
b) TypeError: Cannot read property 'internal' of null
Steps to reproduce
- Clone https://github.com/inblock-io/inblock
- npm install
- you will need the following add these access tokens to (these are Ok to post> spaceid: lil8n4syivvk , content api access token: rJ6yJJXuukb5K7ghg761Aj0w0rvcOKTwSeKHxcztYLI) to the
.contentful.json.sample
file in the project root and REMOVE the.sample
extension
Expected result
npm run dev -> content pulled from contentful, everybody happy, page is served
Actual result
a) RangeError: Maximum call stack size exceeded
b) TypeError: Cannot read property 'internal' of null
Environment
System: OS: Windows 10 10.0.19041 CPU: (12) x64 Intel® Core™ i7-8750H CPU @ 2.20GHz Binaries: Node: 10.13.0 - C:\Program Files\nodejs\node.EXE npm: 6.4.1 - C:\Program Files\nodejs\npm.CMD Browsers: Chrome: 86.0.4240.75 Edge: Spartan (44.19041.423.0), Chromium (86.0.622.38) npmPackages: gatsby: ^1.9.279 => 1.9.279 gatsby-image: ^1.0.55 => 1.0.55 gatsby-link: ^1.6.46 => 1.6.46 gatsby-plugin-react-helmet: ^1.0.8 => 1.0.8 gatsby-plugin-sharp: ^1.6.46 => 1.6.48 gatsby-source-contentful: ^1.3.54 => 1.3.54 gatsby-transformer-remark: ^1.7.44 => 1.7.44 npmGlobalPackages: gatsby: 2.24.53
Commentary
1st I thought it might be this behind it: https://github.com/gatsbyjs/gatsby/blob/639a0ca2cffc8009602b808cc165c74ff4ce5dc5/packages/gatsby-plugin-react-helmet/README.md#compatibility-with-react-168-useeffect-hook
- But the project uses React 15.x 2nd I thought it might be this: https://github.com/gatsbyjs/gatsby/issues/6949#issuecomment-477463165
- No content has been removed on contentful … it is a mystery.
How can I find out what the hell is going on? If this is an offending, failing graphQL query, how do i troubleshoot if I cannot even get graphiql locally?
Issue Analytics
- State:
- Created 3 years ago
- Comments:10
Top GitHub Comments
@le-dawg thank you! reopening!
Hey again!
It’s been 60 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 comment on 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! 💪💜