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
{{ message }}
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.
An update was added to autosize in version 4.0.3 yesterday that causes an autosize is not a function error when rendering the react-autosize-textarea component.
This didn't occur locally, only in our production builds, but we fixed it by specifying the exact version of autosize (4.0.2) in our package directly.
The text was updated successfully, but these errors were encountered:
I also started facing the same issue since this morning. I just locked the autosize version to 4.0.2 in my package.json file and it worked.
I just added a preinstall script inside scripts of package.json and locked autosize version to 4.0.2
Make sure resolutions should be outside the scripts
npx force-resolutions does not run when no package-lock.json is detected, and allows the next command inline to be executed as normal. This is useful when installing dependencies for a package that has been already published where package-lock.json is not available.
Feedback and PR's are welcome
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
An update was added to
autosize
in version4.0.3
yesterday that causes anautosize is not a function
error when rendering thereact-autosize-textarea
component.This didn't occur locally, only in our production builds, but we fixed it by specifying the exact version of autosize (
4.0.2
) in our package directly.The text was updated successfully, but these errors were encountered: