-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
error coming from AutoresizeInput dependency #1694
Comments
Related with additional information about a fix: |
Description of the issue here: JedWatson/react-select#1694
* Fix for react-select bug Description of the issue here: JedWatson/react-select#1694 * Can't put comments in package.json I guess
* Fix for react-select bug Description of the issue here: JedWatson/react-select#1694 * Can't put comments in package.json I guess
* Fix for react-select bug Description of the issue here: JedWatson/react-select#1694 * Can't put comments in package.json I guess
* Fix for react-select bug Description of the issue here: JedWatson/react-select#1694 * Can't put comments in package.json I guess
So, it's not fixed fixed yet right? |
* Fix for react-select bug Description of the issue here: JedWatson/react-select#1694 * Can't put comments in package.json I guess
Seems not fixed yet, set it to fixed version for now as well... |
A quick fix to solve the current error which `the react-input-autosize` dependency is throwing when React-Select is imported. JedWatson#1694
Quick fix: replace a version of 'react-input-autosize' from '^1.1.0' to '1.1.0'.
"react-input-autosize": "1.1.0" did not work for me |
@baijifeilong I just faced this problem. Please add |
…elect`. This can be removed when JedWatson/react-select#1694 is fixed.
Hi Moving to react-select 1.0.0-rc.4 had fixed the issue. Please close this issue if so. Best regards. |
Verified, works. Thanks! |
This has been fixed with the latest release, closing. |
* Fix for react-input-autosize bug (#11543) * Fix for react-select bug Description of the issue here: JedWatson/react-select#1694 * Can't put comments in package.json I guess * Update dashboard based on url changes (#12123) * Update dashboard based on url changes * make clickSelector a retry in case it fails the first time # Conflicts: # src/core_plugins/kibana/public/dashboard/dashboard.js # test/functional/apps/dashboard/_dashboard.js
> react-scripts build
Creating an optimized production build...
Failed to compile.
Failed to minify the code from this file:
./node_modules/react-select/lib/Select.js:39 I am using: # grep react-select package.json
"react-select": "^1.0.0-rc.5", LIne #39:
|
I should note however, that ^1.0.0-rc5 actually installed 1.0.0-rc6. If I back off to 1.0.0-rc5, then the build (from create-react-app) succeeds without an error. |
hello everyone !! i am not able to open any program on visual studio code ,i am getting textual examination and it contains junk data so what to do and how to proceed further this code is a react code |
Problem Description
The
react-input-autosize
dependency is throwing an error when React-Select is imported.Here is the error:
Cause
It looks like a patch version of
react-input-autosize
was published today. The changes are causing the error above.Here is how
react-input-autosize
is currently included withreact-select
:"react-input-autosize": "^1.1.0"
see: https://github.com/JedWatson/react-select/blob/master/package.json#L15
Quick Fix
You can quickly fix the issue by removing the carrot from your dependency version:
Replace the line linked above with:
"react-input-autosize": "1.1.0"
I fixed the error in my project by explicitly adding
"react-input-autosize": "1.1.0"
as a dependency to my project.I hope this is helpful, I ❤️ your component!
The text was updated successfully, but these errors were encountered: