dsheiko / nw-autoupdater

⛔️ [DEPRECATED] Library provides low-level API to control NW.js app auto-updates
MIT License
75 stars 36 forks source link

Failed to compile (with create-react-app) #26

Closed ales-tsurko closed 6 years ago

ales-tsurko commented 6 years ago

Hi. I'm using a create-react-app fork for nw and during building I'm getting:

Failed to minify the code from this file:

    ./node_modules/nw-autoupdater/node_modules/fs-extra/lib/remove/index.js:15

Read more here: http://bit.ly/2tRViJ9
ales-tsurko commented 6 years ago

I've tried out to update the dependencies with ES5, but I've found it impossible to replace promises. So I've out from the create-react-react app... Solved with ejecting and replacing UglifyJS configurations with uglifyjs-webpack-plugin.