0

当我运行命令 npx create-react-app 这是我收到的错误,我不知道我哪里出错了?对这种情况有什么指导吗?

PS C:\Users\ssand\wave_portal_3.0> npx create-react-app
npm ERR! code E405
npm ERR! 405 Method Not Allowed - GET https://registry.npmjs.org/hardhart/create-react-app

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\ssand\AppData\Roaming\npm-cache\_logs\2021-12-05T23_31_09_147Z-debug.log        
Install for [ 'create-react-app@latest' ] failed with code 1
PS C:\Users\ssand\wave_portal_3.0>  
4

1 回答 1

0

您只需要将您的 npm 注册表重置为默认值npm set registry https://registry.npmjs.org/

于 2021-12-06T00:28:03.903 回答