question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot find module 'gatsby-cli/lib/reporter'

See original GitHub issue

After updating from gatsby 2.24.36 to version 2.24.40 getting error on npm start: Error in “/Users/Austin/Projects/schwayweb/node_modules/gatsby-plugin-page-creator/gatsby-node.js”: Cannot find module ‘gatsby-cli/lib/reporter’

entire output here: https://gist.github.com/theskillwithin/2482854d8aa23e91885799925516c833


  System:
    OS: macOS 10.15.6
    CPU: (12) x64 Intel(R) Xeon(R) CPU E5-1650 v2 @ 3.50GHz
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 12.14.1 - ~/.nvm/versions/node/v12.14.1/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.14.6 - ~/.nvm/versions/node/v12.14.1/bin/npm
  Languages:
    Python: 2.7.17 - /usr/local/bin/python
  Browsers:
    Chrome: 84.0.4147.105
    Firefox: 79.0
    Safari: 13.1.2
  npmPackages:
    gatsby: ^2.24.40 => 2.24.40 
    gatsby-background-image: ^1.1.1 => 1.1.1 
    gatsby-image: ^2.4.15 => 2.4.15 
    gatsby-plugin-emotion: ^4.3.10 => 4.3.10 
    gatsby-plugin-google-analytics: ^2.3.13 => 2.3.13 
    gatsby-plugin-layout: ^1.3.10 => 1.3.10 
    gatsby-plugin-manifest: ^2.4.22 => 2.4.22 
    gatsby-plugin-offline: ^3.2.23 => 3.2.23 
    gatsby-plugin-react-helmet: ^3.3.10 => 3.3.10 
    gatsby-plugin-root-import: ^2.0.5 => 2.0.5 
    gatsby-plugin-sharp: ^2.6.26 => 2.6.26 
    gatsby-source-contentful: ^2.3.36 => 2.3.36 
    gatsby-source-filesystem: ^2.3.24 => 2.3.24 
    gatsby-source-shopify: ^3.2.26 => 3.2.26 
    gatsby-transformer-remark: ^2.8.28 => 2.8.28 
    gatsby-transformer-sharp: ^2.5.12 => 2.5.12 

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:14
  • Comments:23 (10 by maintainers)

github_iconTop GitHub Comments

15reactions
sidharthachatterjeecommented, Aug 11, 2020

Fixed and published in gatsby@2.24.42 courtesy of @pvdz

5reactions
bryndymentcommented, Aug 11, 2020

npm i -D gatsby-cli fixed my Netlify deploy.

I assume I’ll be able to remove this dependency once the underlying issue is resolved?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot find module 'gatsby-cli/lib/reporter'? - Stack Overflow
Getting problem with Gatsby. It's is showing Error: Cannot find module 'gatsby-cli/lib/reporter' in command prompt when I am running gatsby ...
Read more >
Gatsby, fix the "cannot find module gatsby-cli/lib/reporter" error
I created a site using Gatsby and I ran gatsby develop to start a local server. After a few searches across GitHub and...
Read more >
I just updated to gatsby-plugin image and made some ...
I just updated to gatsby-plugin image and made some necessary package upgrades with gatsbyjs and have no issues locally but Netlify is ...
Read more >
Top 5 gatsby-cli Code Examples - Snyk
Learn more about how to use gatsby-cli, based on gatsby-cli code examples created from the most popular ways it is used in public...
Read more >
Gatsby - Fork My Brain
Error : Cannot find module 'symbol-observable' Require stack: ... /Users/nic/k6/repos/blog/node_modules/gatsby-cli/lib/reporter/start-logger.js ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found