warning: LF will be replaced by CRLF in src/App.js.
The file will have its original line endings in your working directory.
error: open(“src/hoc/Aux.js”): No such file or directory
error: unable to index file src/hoc/Aux.js
fatal: adding files failed
Solution :
This problem have two issue first git related and second one window file reserved word aux .
Step :
For warning: LF will be replaced by CRLF in src/App.js.
The file will have its original line endings in your working directory.
git config --global core.autocrlf false
Step : 2 : for
error: open(“src/hoc/Aux.js”): No such file or directory
error: unable to index file src/hoc/Aux.js
fatal: adding files failed
Change file name Aux –>> to any other (which is not a reserved word in os)