Yashika Sanghi
Yashika Sanghi

Reputation: 1

Adding local files to git repo throws infinite error warning

When I am trying to add my local code to newly created git repo below error is thrown. https://i.sstatic.net/4o3VC.png

warning: in the working copy of 'node_modules/@babel/runtime-corejs3/helpers/objectDestructuringEmpty.js', LF will be replaced by CRLF the next time Git touches it warning: in the working copy of 'node_modules/@babel/runtime-corejs3/helpers/wrapRegExp.js', LF will be replaced by CRLF the next time Git touches it warning: in the working copy of 'node_modules/@babel/runtime-corejs3/helpers/writeOnlyError.js', LF will be replaced by CRLF the next time Git touches it warning: in the working copy of 'node_modules/@babel/runtime-corejs3/node_modules/regenerator-runtime/LICENSE', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'node_modules/@babel/runtime-corejs3/node_modules/regenerator-runtime/README.md', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'node_modules/@babel/runtime-corejs3/node_modules/regenerator-runtime/package.json', LF will be replaced by CRLF the next time Git touches itwarning: in the working copy of 'node_modules/@babel/runtime-corejs3/node_modules/regenerator-runtime/path.js', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'node_modules/@babel/runtime-corejs3/node_modules/regenerator-runtime/runtime.js', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'node_modules/@babel/runtime-corejs3/package.json', LF will be replaced by CRLF the next time Git touches it warning: in the working copy of 'node_modules/@babel/runtime-corejs3/regenerator/index.js', LF will be replaced by CRLF the next time Git touches it warning: in the working copy of 'node_modules/@babel/runtime/README.md', LF will be replaced by CRLF the next time Git touches it warning: in the working copy of 'node_modules/@babel/runtime/core-js.js', LF will be replaced by CRLF the next time Git touches it

I have tried below steps still not working npm install --save-exact @babel/[email protected] Then delete the package-json.lock file and node_modules folder then re-install with npm install.

Upvotes: 0

Views: 159

Answers (0)

Related Questions