reactjs - 更新节点 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
解决方案
尝试:
unset http_proxy; unset https_proxy; unset all_proxy;
然后
npm install
再次
推荐阅读
- python - 如何获取beautifulsoup使用的元素window.initialState
- http - 无法在 Go 中构造 HTTP GET 请求
- c# - Blazor 中的 html 和 style.css 文件中的不同 css 样式标识符
- c# - Entity Framework Core:只查询相关实体的几个属性
- vue.js - 如何使用 REDIS 缓存 nuxt 应用程序中的所有页面以及如何为移动版和桌面版分别制作缓存?
- php - 在 Apple Silicon M1 上的 docker 容器中运行 CentOS7
- android - kotlin.UninitializedPropertyAccessException:lateinit 属性 layoutManager 尚未初始化
- scala - 计算某个元素的组数
- cordova - 导出cordova 10.0.0时出现黑屏
- c - 位移超过 C 中类型的宽度