首页 > 解决方案 > 尝试获取 https://registry.npmjs.org/cra-template 时响应正文无效:路径中有非法字符

问题描述

当我在此处输入图像描述安装 react npx create-react-app 时,会发生此类错误

标签: reactjsnpmnpm-scripts

解决方案


尝试

npm cache clear --force

然后

npx create-react-app mehreen_practice

推荐阅读