gpt4 book ai didi

javascript - ReactJS:net::ERR_HTTP2_PROTOCOL_ERROR 200 与 .NetCore 在 HTTPS

转载 作者:行者123 更新时间:2023-12-05 00:24:35 31 4
gpt4 key购买 nike

我使用 ReactJS 开发我的应用程序,以前很好,但是突然出现这个错误:

GET https://localhost:44368/static/js/0.chunk.js net::ERR_HTTP2_PROTOCOL_ERROR 200


我不知道这里发生了什么,以前很好。我怎样才能解决这个问题?

最佳答案

我正在使用 Visual Studio 2019 并遇到了同样的问题。这是我为解决它所做的:
从项目的 Dependencies/Packages 中删除了 'Microsoft.AspNetCore.SpaServices.Extentions' Nuget 包,然后安装最新版本(已安装 5.0.6)
enter image description here
清理并重建了解决方案,它又开始工作了。
请让我知道这对你有没有用!

关于javascript - ReactJS:net::ERR_HTTP2_PROTOCOL_ERROR 200 与 .NetCore 在 HTTPS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67747270/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com