When i run build on my app, it says:
Failed to minify the code from this file:
./node_modules/react-select/lib/Select.js:39
Read more here: http://bit.ly/2tRViJ9
I have a similar problem
remote: Errors prevented bundling:
remote: While minifying app code:
remote: packages/minifyStdJS/plugin/minify-js.js:96:26: Babili minification error
remote: within packages/modules.js:
remote: node_modules/react-select/lib/Select.js, line 1167
remote:
remote: Only one default export allowed per module.:
remote:
remote: export default Select;
remote:
remote: at maybeThrowMinifyErrorBySourceFile
I suddenly have the same problem today
static/js/main.3d6a0c42.js from UglifyJs
Unexpected token: name (instanceId) [./~/react-select/lib/Select.js:39,0][static/js/main.3d6a0c42.js:19603,4]
I am on react-select=1.0.0-rc.5
EDIT: This seems to be a related issue https://github.com/JedWatson/react-select/issues/1974
updated package to 1.0.0-rc.7 and problem is gone
Hi, @kruyvanna this should be fixed in 1.0.0-rc.7, please let us know if this is not the case
@gwyneplaine I confirm fixed in 1.0.0-rc.7
Thanks
Most helpful comment
updated package to 1.0.0-rc.7 and problem is gone