Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An unhandled exception occurred while processing the request. #7

Open
yiyungent opened this issue Aug 23, 2021 · 2 comments
Open

An unhandled exception occurred while processing the request. #7

yiyungent opened this issue Aug 23, 2021 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@yiyungent
Copy link
Owner

image

原因

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

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

image

@yiyungent
Copy link
Owner Author

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

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

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

@yiyungent yiyungent added the help wanted Extra attention is needed label Aug 23, 2021
@yiyungent
Copy link
Owner Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant