I get an error when running npm install. The error is: Environment: OS: Windows 10 | reactjs: 18.2.0 | Node: 16.17.0 | npm: 8.17.0 Answer Run Then set npm registry And finally install packages This worked for me although I have found other users getting it to work by simply clearing the cache and then installing packages directly without configuring