JLKoszarek
13 Sep 2017, 2:07 PM
Using trial version of ExtReact on new windows 10 machine. Used Getting Started "If you prefer to use create-react-app (https://github.com/facebookincubator/create-react-app), see Adding ExtReact to Apps Built With create-react-app (http://docs.sencha.com/extreact/6.5.1/guides/using_create_react_app.html)" method. Worked the first time, but when I shutdown the the server and then restarted it, I was getting the following error:
[@extjs/reactor-webpack-plugin]: Error: ENOTEMPTY: directory not empty, rmdir 'C:\Users\joe\Desktop\UI\ExtR\merchant-assistant\build\ext-react\resources\ext\ext-watermark'
I believe that the build script fails when doing a recursive rmdir on /build/ext-react ... and thus the error. If I remove the ext-react dir manually and restart it works once again, until I restart the server again. Is there an update to remedy this.
One note, when following the instructions in the Adding ExtReact to Apps Built With create-react-app (http://docs.sencha.com/extreact/6.5.1/guides/using_create_react_app.html), it ask you to add into webpack.config.dev.js & webpack.config.prod.js underneath plugin: a few lines of code. The problem is their are 3 occurances of plugin in each file, so I guessed and made it the last plugin: in that it was the highest one in the json structure. Is that correct?
[@extjs/reactor-webpack-plugin]: Error: ENOTEMPTY: directory not empty, rmdir 'C:\Users\joe\Desktop\UI\ExtR\merchant-assistant\build\ext-react\resources\ext\ext-watermark'
I believe that the build script fails when doing a recursive rmdir on /build/ext-react ... and thus the error. If I remove the ext-react dir manually and restart it works once again, until I restart the server again. Is there an update to remedy this.
One note, when following the instructions in the Adding ExtReact to Apps Built With create-react-app (http://docs.sencha.com/extreact/6.5.1/guides/using_create_react_app.html), it ask you to add into webpack.config.dev.js & webpack.config.prod.js underneath plugin: a few lines of code. The problem is their are 3 occurances of plugin in each file, so I guessed and made it the last plugin: in that it was the highest one in the json structure. Is that correct?