TypeScript sites break with gatsby@2.9.9
See original GitHub issueDescription
Something changed between 2.9.8 and 2.9.9 that breaks Gatsby sites with TypeScript. Problem doesn’t seem to have to do with gatsby-plugin-typescript
, but more to do with Gatsby looking for an index.js
. But please take that observation with a grain of salt.
Steps to reproduce
Clone this minimal repo: https://github.com/ryanditjia/gatsby2.9.9-issue.git
Run npm start
Expected result
Develop should run fine.
Actual result
Getting this error:
project_root/node_modules/yoga-layout-prebuilt/yoga-layout/build/Release/nbind.js:53
throw ex;
^
RangeError: Maximum call stack size exceeded
at Array.values (<anonymous>)
at Object.console.error
... and so on
Environment
System: OS: macOS High Sierra 10.13.6 CPU: (4) x64 Intel® Core™ i5-2400S CPU @ 2.50GHz Shell: 5.3 - /bin/zsh Binaries: Node: 12.4.0 - /usr/local/bin/node Yarn: 1.16.0 - /usr/local/bin/yarn npm: 6.7.0 - /usr/local/bin/npm Languages: Python: 2.7.16 - /usr/local/bin/python Browsers: Chrome: 74.0.3729.169 Firefox: 60.0.2 Safari: 12.1.1 npmPackages: gatsby: ^2.9.9 => 2.9.9 gatsby-plugin-typescript: ^2.0.15 => 2.0.15
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:17 (14 by maintainers)
Same here, reverting back to 2.9.8 works without problems.
Hm, I’m still getting this on
gatsby serve
😕After looking through the internet I ended up updating all the things without success. Any info I can provide that would help?