English 中文(简体)
i 当i wan制造一个新项目反应时,有问题,有厘米的npm init反应应用我的应用。
原标题:i have a probleme when i wan create a new project react with cmd npm init react-app my-app

C:Userslenovo>npm init react-app preparefm npm ERR! code ENOTFOUND npm ERR! syscall getaddrinfo npm ERR! errno ENOTFOUND npm ERR! network request to https://registry.npmjs.org/create-react-app failed, reason: getaddrinfo ENOTFOUND proxy.example.com

npm ERR! network This is a problem related to network connectivity. npm ERR! network In most cases you are behind a proxy or have bad network settings. npm ERR! network npm ERR! network If you are behind a proxy, please make sure that the npm ERR! network proxy config is set properly. See: npm help config

npm ERR! A complete log of this run can be found in: C:UserslenovoAppDataLocal pm-cache_logs2023-12-30T22_32_20_187Z-debug-0.log

问题回答

我建议你使用vite。 它比产生反应更好。

仅限:

n

然后选择贵方的称号,选择一个框架,然后通过执行,在您的指定和安装所需的单元:

iii





相关问题
How to use one react app into another react app?

I have two react apps, parent app and child app. and child app have an hash router. I have build the child app using npm run build, It creates build folder. That build folder moved into inside the ...

how to get selected value in Ant Design

I want to print the selected value, and below is my option list: const vesselName = [ { value: 0 , label: ALBIDDA , }, { value: 1 , label: ALRUMEILA , }, { value: 2 ,...

How to add a <br> tag in reactjs between two strings?

I am using react. I want to add a line break <br> between strings No results and Please try another search term. . I have tried No results.<br>Please try another search term. but ...

热门标签