React-select: Failed to minify

Created on 11 Sep 2017  路  5Comments  路  Source: JedWatson/react-select

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

Most helpful comment

updated package to 1.0.0-rc.7 and problem is gone

All 5 comments

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

Was this page helpful?
0 / 5 - 0 ratings