Failed to 'gatsby develop' after installing typography plugin
See original GitHub issueDescription
Failed to ‘gatsby develop’ after installing typography plugin when following gatsyby tutorial(https://www.gatsbyjs.org/tutorial/part-three/)
Steps to reproduce
Literally, I followed exact steps on the gatsby tutorial and up until part-two it was all working fine. But once I did this step(https://www.gatsbyjs.org/tutorial/part-three/#-install-and-configure-gatsby-plugin-typography) it gave me error.
Actual result
gatsby develop
success open and validate gatsby-configs - 0.035s
success load plugins - 0.082s
success onPreInit - 0.002s
info One or more of your plugins have changed since the last time you ran Gatsby. As
a precaution, we're deleting your site's cache to ensure there's no stale data.
success initialize cache - 0.024s
success copy gatsby files - 0.070s
success onPreBootstrap - 0.010s
success createSchemaCustomization - 0.002s
success source and transform nodes - 0.036s
success building schema - 0.197s
success createPages - 0.001s
success createPagesStatefully - 0.043s
success onPreExtractQueries - 0.001s
success update schema - 0.024s
success extract queries from components - 0.049s
success write out requires - 0.009s
success write out redirect data - 0.002s
success onPostBootstrap - 0.001s
⠀
info bootstrap finished - 4.088 s
⠀
success run queries - 0.024s - 2/2 83.41/s
ERROR #98123 WEBPACK
Generating SSR bundle failed
Can't resolve '/Users/benho/anvil-gatsby/src/utils/typography' in '/Users/benho/anvil-gatsby/node_modules/gatsby-plugin-typography/.cache'
File: node_modules/gatsby-plugin-typography/.cache/typography.js
Environment
System:
OS: macOS 10.15.1
CPU: (12) x64 Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 10.15.3 - ~/.nvm/versions/node/v10.15.3/bin/node
Yarn: 1.19.1 - /usr/local/bin/yarn
npm: 6.13.2 - ~/.nvm/versions/node/v10.15.3/bin/npm
Languages:
Python: 2.7.16 - /usr/bin/python
Browsers:
Chrome: 79.0.3945.79
Safari: 13.0.3
npmPackages:
gatsby: ^2.18.12 => 2.18.12
gatsby-plugin-typography: ^2.3.20 => 2.3.20
npmGlobalPackages:
gatsby-cli: 2.8.20
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:11 (4 by maintainers)
Top Results From Across the Web
Troubleshooting Common Errors - Gatsby
If you encounter a webpack error that says Generating SSR bundle failed after installing a plugin and trying to run gatsby develop or...
Read more >Gatsby develop command is producing an error - Stack Overflow
Since the error is specifically saying its not able to access environment master, I created a development environment, which doesn't seem to ...
Read more >Gatsby Changelog | 5.3.0
In PR #36623 we fixed this behavior and any node changes (either by changing local files or through webhook updates) will be reflected...
Read more >gatsby-plugin-mdx - npm
After installing gatsby-plugin-mdx you can add it to your plugins list ... Note: You should restart gatsby develop to update imports in MDX ......
Read more >Getting to know Gatsby. It wasn't without hurdles | Nerd For Tech
Gatsby is a react-based framework for creating the statically generated websites and ... error “gatsby-plugin-webfonts” threw an error while running the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I also ran into issues after installing this step, but had a different set of errors:
Thank you for opening this!
Please see this issue: https://github.com/gatsbyjs/gatsby/issues/19064
npm
is messing up your dependency tree. Another run ofnpm install
(and removal ofnode_modules
beforehand) should fix your issue.We’ll upgrade soon. In the meantime you don’t have to fear any security issues.
Have a look at the solutions in the mentioned issue, then it’ll work 😃
We’re marking this issue as answered and closing it for now but please feel free to comment here if you would like to continue this discussion. We also recommend heading over to our communities if you have questions that are not bug reports or feature requests. We hope we managed to help and thank you for using Gatsby!