Created
March 3, 2022 04:06
-
-
Save amitsinghrawat1994/a0a079ec81dfe39462c81a1dd637d77b to your computer and use it in GitHub Desktop.
Clean node modules reinstall in window
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Ref: https://stackoverflow.com/a/68958342/7961948 | |
| deleted the node modules and package.lock.json | |
| deleted npm and npm-cahce folder in C:\Users\user\AppData\Roaming and rebooted the PC | |
| Then ran npm cache clean to make sure the cache was correctly cleaned. | |
| Updated the react and react-dom version to ^17.0.0 | |
| Updated my npm version to the most recent too, perhaps this might not be a reason for the error, but i found useful to perform the update. | |
| After that i ran: | |
| npm install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment