当我使用dotnet run
启动我的 Vue.js .NET Core 项目时,我收到以下"失败"消息,但该网站似乎工作正常。 任何人都知道我为什么会收到这些消息以及如何对其进行故障排除?
c:myprojWeb>dotnet run
Using launch settings from c:myprojWebPropertieslaunchSettings.json...
Hosting environment: Development
Content root path: c:myprojWeb
Now listening on: http://localhost:60000
Application started. Press Ctrl+C to shut down.
fail: Microsoft.AspNetCore.NodeServices[0]
[hardsource:be1e46f8] Using 230 MB of disk space.
fail: Microsoft.AspNetCore.NodeServices[0]
[hardsource:be1e46f8] Tracking node dependencies with: package-lock.json.
fail: Microsoft.AspNetCore.NodeServices[0]
[hardsource:be1e46f8] Reading from cache be1e46f8...
看起来 dotnet run 将硬源详细消息报告为 FAIL,而事实并非如此。 我刚刚修改了我的硬源配置,如下所示(在 webpack.config.*.js 中(,消息消失了。
new HardSourceWebpackPlugin({ info: { mode: 'none', level: 'warn' } }),