PluginCore icon indicating copy to clipboard operation
PluginCore copied to clipboard

An unhandled exception occurred while processing the request.

Open yiyungent opened this issue 2 years ago • 2 comments

image

原因

不知道为什么 dotnet pack 打包,里面的 PluginCore.dll 缺少 Resources,

但是 dotnet build -c Release 方式的,就有

image

yiyungent avatar Aug 23 '21 15:08 yiyungent

发现 是 GitHub Actions 没有配置 npm install 导致,

奇怪的是,没有报错,看日志,运行正常,没有在 GitHub Action 中安装 Node.js, 但是 dotnet build 还是调用到了 npm install ,而且,生成了 node_modules,

目测是顺序不对,GitHub Actions 中,dotnet build 时,还没有进行 npm install,但是明明本地就能正常(先 npm install

yiyungent avatar Aug 23 '21 16:08 yiyungent

目前已经通过在 GitHub Actions 中显式指定 npm install ,完成

yiyungent avatar Aug 23 '21 16:08 yiyungent