npm 错误!安装 React 包时代码 E404

问题描述 投票:0回答:1

在构建基于 Typescript 的全栈项目时,我收到以下错误

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@mui%2ficon-material - Not found
npm ERR! 404 
npm ERR! 404  '@mui/icon-material@*' is not in this registry.
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in: 

如何解决?

我试图在终端中运行以下命令

npm i react-datepicker react-router-dom@6 @mui/material @emotion/react @emotion/styled @mui/icon-material @mui/x-data-grid @nivo/core @nivo/bar @nivo/geo @nivo/pie

我期待安装日期选择器图表和其他东西。

reactjs typescript material-ui datepicker nivo-react
1个回答
0
投票

软件包名称为

@mui/icons-material
s
位于
icons
)。

© www.soinside.com 2019 - 2024. All rights reserved.