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
We have an app that we ported over to this CLI tool and it works perfectly in development mode. However, if we run the build folder in a server (using pushstate-server) we get:
Uncaught TypeError: Cannot read property 'props' of undefined
This might be a bug in babel-plugin-transform-react-constant-elements.
Can you comment it out in react-scripts/config/babel.prod.js and see if that fixes it?
If it does, we should file a bug against Babel.
We have an app that we ported over to this CLI tool and it works perfectly in development mode. However, if we run the build folder in a server (using
pushstate-server
) we get:Uncaught TypeError: Cannot read property 'props' of undefined
The component is simple:
Like I said, this works great in dev mode. Why not in production?
The text was updated successfully, but these errors were encountered: