![]() If you are only experimenting with React for now, I would recommend this solution. bashrc file will make it work with any React project you are working on. ![]() env file inside of your project folder, but adding the variable to your. Try npm start inside of your project folder again.Ģ -> If the above didn't work, try setting the CHOKIDAR_USEPOLLING=true environment variable in your linux environment, which will reflect on your react development environment. Then type exit and relaunch the terminal. Replace the number you see with 1048576 and save the file. To do so, issue the following commands in your terminal: sudo nano /proc/sys/fs/inotify/max_user_watches This is a known issue when running webpack inside of a VM like WSL2, as it happens when you execute npm start. Try one of the following solutions:ġ -> Increase the maximum number of allowed watchers in your linux environment. There might be different reasons why this is happening. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |