Skip to content
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

Warning: Empty string transition configs (e.g., { on: { '': ... }}) for transient transitions are deprecated. #25484

Closed
GhaithZamrik opened this issue Jul 2, 2020 · 3 comments
Labels
type: bug An issue or pull request relating to a bug in Gatsby

Comments

@GhaithZamrik
Copy link

GhaithZamrik commented Jul 2, 2020

When running gatsby build command I am getting the following warning:

warning Warning: Empty string transition configs (e.g., `{ on: { '': ... }}`) for transient transitions are deprecated.
Specify the transition in the `{ always: ... }` property instead. Please check the `on` configuration for "#pageComponents.inactive".

Having in mind that everything works fine when running the project in development mode. gatsby develop
And since it's happened the site styling and performance has been broken in some instances
can someone elaborate please what this is exactly, and why I might be getting it?

Gatsby v2.23.17
Gatsby-CLI v2.12.54

would appreciate any feedback, been banging my head because of this all day long.

@GhaithZamrik GhaithZamrik added the type: bug An issue or pull request relating to a bug in Gatsby label Jul 2, 2020
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jul 2, 2020
@g-mayer
Copy link

g-mayer commented Jul 2, 2020

@GhaithZamrik I was just getting this bug. I think because I recently updated the gatsby-cli to the latest version. I was able to get past that error by updating my gatsby dependencies. If you also just updated gatsby I would try updating "gatsby-plugin-offline" to the latest version.

@alchi126
Copy link

alchi126 commented Jul 2, 2020

@GhaithZamrik fyi I was getting this error as well as ERROR #11321 PLUGIN. Error while running the createPages lifecycle: Reducers may not dispatch actions. The fix for that was found here (bump gatsby to 2.23.18) which resolved this warning for me as well.

@ryparker
Copy link

ryparker commented Jul 2, 2020

@alchi126 That worked. Thanks!

@freiksenet freiksenet removed the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jul 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug An issue or pull request relating to a bug in Gatsby
Projects
None yet
Development

No branches or pull requests

5 participants