首页 > 解决方案 > 更新节点 js v.15.0 后我无法创建反应应用程序

问题描述

C:\Users\Acer\Desktop\Template Project>npx create-react-app my-app
npm ERR! code ERR_INVALID_PROTOCOL
npm ERR! Protocol "https:" not supported. Expected "http:"

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Acer\AppData\Local\npm-cache\_logs\2020-10-21T10_03_45_137Z-debug.log

标签: reactjs

解决方案


尝试:

unset http_proxy; unset https_proxy; unset all_proxy;

然后

npm install再次


推荐阅读