简体   繁体   中英

How to Solve - Module not found: Recursion in resolving - NPM

After command npm install I've to get Module was not found: Recursion in resolving, and error indicates for my local js file. That is in my every single react-app. I can not start them. What is going on? Thanks for help.

NPM Version: 6.14.4 Node Version: v14.1.0

Everything was working perfectly. I wanted to update node_modules by npm install because the npm update was not working. Now I can not run any react application due to this error.

I have solved this problem. A conflict between node modules and package.json was the reason. I've created a new React Application using npx create-react-app app-name , then installed extra packages like styled-components. Then I copied and pasted.js files from non-working folder.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM