-
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
Cannot find module 'gatsby-cli/lib/reporter' #26345
Comments
Installing |
I can't duplicate this when I updated a site to |
Hello I have the same issue, when update to "gatsby": "^2.24.40", I also try to move back to "gatsby": "^2.24.37", but error still appears. I got the error on gatsby cloud |
I am also having this issue since updating. I am running gatsby-cli 2.12.82. As mentioned by @sandren, installing gatsby-cli as a project dependency seems to help as a temporary measure. In addition, the progress bar showing quantity of images being rendered, or queries being processed is no longer visible. |
I don't have gatsby cli installed globally |
Just tried porting a create react app to gatsby and I got this issue as well, using gatsby 2.24.40. |
I'm seeing this on gatsby cloud itself... saw the same error on my local build and it was fixed by updating the CLI, but I can't control that on the cloud service. |
Unfortunately I'm having the same issue when I try to
(With gatsby-cli installed globally). |
OK - weird solution, but it might help others: removed package-lock.json and node_modules, then ran |
When I run
|
I assume I'll be able to remove this dependency once the underlying issue is resolved? |
I am also experiencing this issue. I am able to work around by fixing the version:
|
Looks like it actually still works without the version. |
I was having this too. Adding |
Me too. Just happened on my Github actions. The previous deploy worked fine and suddenly, it no longer works. |
It looks like gatsby/packages/gatsby-plugin-page-creator/src/is-valid-collection-path-implementation.ts Line 2 in a3f9d2d
gatsby-cli , but the package doesn't declare it in its dependencies gatsby/packages/gatsby-plugin-page-creator/package.json Lines 26 to 34 in a3f9d2d
|
@pvdz pushed a fix, will publish once all is green |
Fixed and published in |
For anyone who is still having problems getting this to work, especially on a new install, I had to delete the |
I am trying to start my first project with Gatsby but I continue with the problem, I tried what you mention but I can not correct it. |
Try |
Before reporting to have this problem please make sure the proper gatsby version is installed
If that's not at least .42 then that's probably the reason. Thanks :) |
Going to lock this because we're confident this particular issue has been fixed. |
578e005 improve(pages): update theming page with Sidebar and initial content b54393b improve(components): initial ThemeColorPicker implementation 1f883c1 chore(components): wrap ComingSoon content with Main component fa1d889 improve(components): initial Main implementation 0cd2672 improve(components): intitial Sidebar implementation bb46f2a improve(component): update Layout structure and styles as page content container d1d3ef0 improve(styles): appropriate global styles for native HTML elements 2d86938 chore(components): redefine Header border style as JSS array 87779e6 fix(styles): swap theme foreground and background colors a3d0f4b improve(components): clean up Header styles and add active link state dad8fb4 chore(package): add classnames dependency 3afd7b4 improve(styles): remove redundant body margin 155bf91 chore(components): clean up Layout component 76f0a14 refactor(pages): initial pages structure config 7ec4820 chore(pages): initial Theming page f7ad9f7 chore(components): initial Coming Soon page component cc5cc69 improve(components): initial Header styling 11f6b9a improve(components): initial Layout styling 1c01cea chore(package): capitalize components files names 3580854 chore(styles): default theme initial configuration d23e27c chore(package): add gatsby-plugin-jss a166099 chore(styles): add Roboto font family e150a23 chore(package): add gatsby-plugin-google-fonts ff7c9c7 chore(package): add and configure ESLint e7141a1 chore(package): switch extension of React JS files to .jsx 8a3a62b chore(package): run Prettier on src and gatsby-* files 8985d2a chore(package): add some default Prettier settings 9039bde chore(package): update Gatsby to 2.24.42 to fix gatsbyjs/gatsby#26345 1051910 chore(package): initial bootstrap from https://github.com/gatsbyjs/gatsby-starter-default.git
788cce9 chore(package): add path prefix to correct hosting demo on buninux.github.io/frames 578e005 improve(pages): update theming page with Sidebar and initial content b54393b improve(components): initial ThemeColorPicker implementation 1f883c1 chore(components): wrap ComingSoon content with Main component fa1d889 improve(components): initial Main implementation 0cd2672 improve(components): intitial Sidebar implementation bb46f2a improve(component): update Layout structure and styles as page content container d1d3ef0 improve(styles): appropriate global styles for native HTML elements 2d86938 chore(components): redefine Header border style as JSS array 87779e6 fix(styles): swap theme foreground and background colors a3d0f4b improve(components): clean up Header styles and add active link state dad8fb4 chore(package): add classnames dependency 3afd7b4 improve(styles): remove redundant body margin 155bf91 chore(components): clean up Layout component 76f0a14 refactor(pages): initial pages structure config 7ec4820 chore(pages): initial Theming page f7ad9f7 chore(components): initial Coming Soon page component cc5cc69 improve(components): initial Header styling 11f6b9a improve(components): initial Layout styling 1c01cea chore(package): capitalize components files names 3580854 chore(styles): default theme initial configuration d23e27c chore(package): add gatsby-plugin-jss a166099 chore(styles): add Roboto font family e150a23 chore(package): add gatsby-plugin-google-fonts ff7c9c7 chore(package): add and configure ESLint e7141a1 chore(package): switch extension of React JS files to .jsx 8a3a62b chore(package): run Prettier on src and gatsby-* files 8985d2a chore(package): add some default Prettier settings 9039bde chore(package): update Gatsby to 2.24.42 to fix gatsbyjs/gatsby#26345 1051910 chore(package): initial bootstrap from https://github.com/gatsbyjs/gatsby-starter-default.git
788cce9 chore(package): add path prefix to correct hosting demo on buninux.github.io/frames 578e005 improve(pages): update theming page with Sidebar and initial content b54393b improve(components): initial ThemeColorPicker implementation 1f883c1 chore(components): wrap ComingSoon content with Main component fa1d889 improve(components): initial Main implementation 0cd2672 improve(components): intitial Sidebar implementation bb46f2a improve(component): update Layout structure and styles as page content container d1d3ef0 improve(styles): appropriate global styles for native HTML elements 2d86938 chore(components): redefine Header border style as JSS array 87779e6 fix(styles): swap theme foreground and background colors a3d0f4b improve(components): clean up Header styles and add active link state dad8fb4 chore(package): add classnames dependency 3afd7b4 improve(styles): remove redundant body margin 155bf91 chore(components): clean up Layout component 76f0a14 refactor(pages): initial pages structure config 7ec4820 chore(pages): initial Theming page f7ad9f7 chore(components): initial Coming Soon page component cc5cc69 improve(components): initial Header styling 11f6b9a improve(components): initial Layout styling 1c01cea chore(package): capitalize components files names 3580854 chore(styles): default theme initial configuration d23e27c chore(package): add gatsby-plugin-jss a166099 chore(styles): add Roboto font family e150a23 chore(package): add gatsby-plugin-google-fonts ff7c9c7 chore(package): add and configure ESLint e7141a1 chore(package): switch extension of React JS files to .jsx 8a3a62b chore(package): run Prettier on src and gatsby-* files 8985d2a chore(package): add some default Prettier settings 9039bde chore(package): update Gatsby to 2.24.42 to fix gatsbyjs/gatsby#26345 1051910 chore(package): initial bootstrap from https://github.com/gatsbyjs/gatsby-starter-default.git
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
The text was updated successfully, but these errors were encountered: