Signalr.js 未找到
Signalr.js not found
我刚刚阅读了 "Get started with SignalR on ASP.NET Core" 文章,但在打开浏览器时出现错误。
错误是:GET https://localhost:5001/lib/signalr/signalr.js 404(未找到)
当我尝试 运行 他们自己的示例时发生同样的错误:https://github.com/aspnet/Docs/tree/master/aspnetcore/signalr/get-started/sample
.NET 核心 SDK:dotnet-sdk-2.1.300-preview1-008174-win-x64
NPM 版本:5.8.0
VSCode: 1.22.2
有什么帮助吗?
如instructions for Visual Studio所述:
- Copy the signalr.js file from node_modules\@aspnet\signalr\dist\browser to the lib folder in your project.
我刚刚阅读了 "Get started with SignalR on ASP.NET Core" 文章,但在打开浏览器时出现错误。 错误是:GET https://localhost:5001/lib/signalr/signalr.js 404(未找到)
当我尝试 运行 他们自己的示例时发生同样的错误:https://github.com/aspnet/Docs/tree/master/aspnetcore/signalr/get-started/sample
.NET 核心 SDK:dotnet-sdk-2.1.300-preview1-008174-win-x64
NPM 版本:5.8.0
VSCode: 1.22.2
有什么帮助吗?
如instructions for Visual Studio所述:
- Copy the signalr.js file from node_modules\@aspnet\signalr\dist\browser to the lib folder in your project.