首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >AWS如何修复:“未处理的异常。Amazon.JSII.Runtime.JsiiException:子进程意外退出!”错误?

AWS如何修复:“未处理的异常。Amazon.JSII.Runtime.JsiiException:子进程意外退出!”错误?
EN

Stack Overflow用户
提问于 2022-01-16 11:32:07
回答 1查看 338关注 0票数 0

我在.NET核心6中运行了一个Blazor项目,我正在尝试使用预览功能将我的blazor项目上传到Amazon上。

我的项目运行得很好,但是我得到了这个错误,我在上面找不到任何东西:

代码语言:javascript
复制
Initiating deployment: ASP.NET Core App to Amazon ECS using Fargate
Configuring AWS Cloud Development Kit (CDK)...
Generating AWS Cloud Development Kit (AWS CDK) deployment project
Saving AWS CDK deployment project to: C:\Users\McPkM\.aws-dotnet-deploy\Projects\dg3evyzs
CDK version 1.128.0 found in global node_modules.
Deploying AWS CDK project
 ⏳  Bootstrapping environment aws://152939591676/eu-west-2...
 ✅  Environment aws://152939591676/eu-west-2 bootstrapped (no changes).


Unhandled exception. Amazon.JSII.Runtime.JsiiException: Child process exited unexpectedly!
   at Amazon.JSII.Runtime.Services.Runtime.ReadResponse()
   at Amazon.JSII.Runtime.Services.Client.ReceiveResponse[TResponse]()
   at Amazon.JSII.Runtime.Services.Client.Hello()
   at Amazon.JSII.Runtime.Services.ServiceContainer.BuildServiceProvider(ILoggerFactory loggerFactoryOverride)
   at Amazon.JSII.Runtime.Services.ServiceContainer.<>c.<.cctor>b__8_0()
   at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
   at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
   at System.Lazy`1.CreateValue()
   at System.Lazy`1.get_Value()
   at Amazon.JSII.Runtime.Services.ServiceContainer.get_ServiceProvider()
   at Amazon.JSII.Runtime.Deputy.JsiiTypeAttributeBase.Load(Assembly assembly)
   at Amazon.JSII.Runtime.Deputy.JsiiTypeAttributeBase.Load(Assembly assembly)
   at Amazon.JSII.Runtime.Deputy.DeputyBase..ctor(DeputyProps props)
   at Constructs.Construct..ctor(DeputyProps props)
   at Amazon.CDK.Construct..ctor(DeputyProps props)
   at Amazon.CDK.Stage..ctor(DeputyProps props)
   at Amazon.CDK.App..ctor(IAppProps props)
   at Minebuilds.Program.Main(String[] args) in C:\Users\McPkM\.aws-dotnet-deploy\Projects\dg3evyzs\Program.cs:line 17

<--- Last few GCs --->


<--- JS stacktrace --->


#
# Fatal javascript OOM in GC during deserialization
#

Subprocess exited with error 3762504530


Minebuilds could not be published as ASP.NET Core App to Amazon ECS using Fargate: We had an issue deploying your application to AWS. Check the deployment output for more details.

我找不到更多的部署输出。

EN

回答 1

Stack Overflow用户

发布于 2022-07-06 23:41:35

我在Java中遇到了类似的问题,尽管我的输出略有不同。

将npm和节点js更新为最新版本为我解决了这个问题。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/70729621

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档