You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Failed to load plugin 'flowtype' declared in 'BaseConfig »
shields/node_modules/gatsby/node_modules/eslint-config-react-app/index.js': Package subpath
'./lib/rules/no-unused-expressions' is not defined by "exports" in shields/node_modules/eslint/package.json
failed Building development bundle - 6.365s
ERROR in Failed to load plugin 'flowtype' declared in 'BaseConfig »
This isn't preventing us deploying - production frontend build still works. It is just gatsby develop that throws. I think this was introduced in #7235 as downgrading to ESLint 7 with npm install --save eslint@7.32.0 fixes the issue. I haven't figured out if there's a way we can fix it and keep ESLint 8, or why Gatsby needs a linter to start the dev server.
The text was updated successfully, but these errors were encountered:
Do you think we should hold off on updating more dependencies for the time being? Not sure what my own thinking is on that question tbh, but wanted to ask since I imagine that the more we update the other dependencies the more difficult this may be to unwind
I agree. I've submitted #7304 - lets merge that before we process this week's dependency bumps.
Didn't really have time for it last night but I spent a bit of time on it this evening. I was hoping updating the latest gatsby release might fix us but we need to wait for gatsbyjs/gatsby#33785 to get sorted upstream. Then we can hopefully re-revert to eslint 8
To reproduce:
npm start
This isn't preventing us deploying - production frontend build still works. It is just
gatsby develop
that throws. I think this was introduced in #7235 as downgrading to ESLint 7 withnpm install --save eslint@7.32.0
fixes the issue. I haven't figured out if there's a way we can fix it and keep ESLint 8, or why Gatsby needs a linter to start the dev server.The text was updated successfully, but these errors were encountered: