create-react-app 无法创建新应用

dz6r00yl  于 5个月前  发布在  React
关注(0)|答案(4)|浏览(70)

安装中止。
意外错误。请将其报告为错误:
错误:spawn UNKNOWN
at ChildProcess.spawn (node:internal/child_process:413:11)
at Object.spawn (node:child_process:713:9)
at spawn (C:\Users\Abhay\AppData\Local
pm-cache_npx\c67e74de0542c87c
ode_modules\cross-spawn\index.js:12:24)
at C:\Users\Abhay\AppData\Local
pm-cache_npx\c67e74de0542c87c
ode_modules\create-react-app\createReactApp.js:383:19
at new Promise ()
at install (C:\UsersAbhay\AppData\Local
pm-cache_npx\c67e74de0542c87c
ode_modules\create-react-app\createReactApp.js:334:10)
at C:\Users\AbhayAppData\Local
pm-cache_npx\c67e74de0542c87c
ode_modulescreate-react-app\createReactApp.js:461:16
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
errno: -4094,

axzmvihb

axzmvihb1#

回复消息:***@***.***>日期:08/21/2022 18:40

***@***.***> ***@***.***>主题:[facebook/create-react-app]无法创建新应用(问题#12687)中止安装。意外错误。请将其报告为错误:错误:在ChildProcess.spawn中生成UNKNOWN (node:internal/child_process:413:11) 在Object.spawn (node:child_process:713:9) 在spawn (C:\Users\Abhay\AppData\Local

pm-cache_npx\c67e74de0542c87c
ode_modules\cross-spawn\index.js:12:24) 在C:\Users\Abhay\AppData\Local
pm-cache_npx\c67e74de0542c87c
ode_modules\create-react-app\createReactApp.js:383:19 在new Promise()中 在install (C:\Users\Abhay\AppData\Local
pm-cache_npx\c67e74de0542c87c
ode_modules\create-react-app\createReactApp.js:334:10) 在C:\Users\Abhay\AppData\Local
pm-cache_npx\c67e74de0542c87c
ode_modules\create-react-app\createReactApp.js:461:16 在processTicksAndRejections (node:internal/process/task_queues:96:5) { errno: -4094, —回复此电子邮件,直接查看它在GitHub上,或取消订阅。您收到此邮件是因为您订阅了此线程。消息ID:***@***.***>[ { ***@***.***": " http://schema.org ", ***@***.***": "EmailMessage", "potentialAction": { ***@***.***": "ViewAction", "target": "#12687", "url": "#12687", "name": "查看问题" }, "description": "在GitHub上查看此问题", "publisher": { ***@***.***": "Organization", "name": "GitHub", "url": " https://github.com " } } ]

nukf8bse

nukf8bse3#

可能是你的杀毒软件。你可以卸载杀毒软件或在安全选项中禁用实时保护。

cx6n0qe3

cx6n0qe34#

你好,@codeDev-abhay ,这个问题有更新吗?如果已经修复了,你可以关闭这个。谢谢。

相关问题