Everyone’s failure reasons are different, because when downloading NodeJS files, they are downloaded to the c drive by default, and I changed the drive letter to the D drive, so to delete the hidden files in the c drive , pay attention to the .npmrc file in the c drive . The specific location is as follows:
Click View to show hidden files to see this file
Finally, the project was created successfully: