As an experiment I am buiding a native mobile App. When I run it local it works fine with some native functions. When I deploy to Free App cloud the build fails Does someone have a suggestion why it fails? ERROR: System.AggregateException: One or more errors occurred. ---> Mendix.Modeler.Deployment.DeploymentException: Cannot start the packager. --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00014] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00052] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Threading.Tasks.Task.Wait () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at Mendix.Modeler.WebUI.Export.Native.NativeDeploymentWorker.StartBundler (System.Boolean restart, Mendix.Modeler.Utility.Progress.IProgressInfo info) [0x0003f] in <4b6e4118327b45bd89afd95c223c79c9>:0 at Mendix.Modeler.WebUI.Export.Native.NativeDeploymentWorker.DoWork (Mendix.Modeler.Deployment.DeploymentPhase phase, Mendix.Modeler.Core.IProject project, Mendix.Modeler.Deployment.DeploymentSettings settings, Mendix.Modeler.Utility.Progress.IProgressInfo info) [0x0004d] in <4b6e4118327b45bd89afd95c223c79c9>:0 at Mendix.Modeler.Deployment.DeploymentProcessBuilder+<>c__DisplayClass12_0.<AddBuildStepsForPhase>b__0 (Mendix.Modeler.Utility.Progress.IProgressInfo info) [0x00036] in <f1330a0348d141f7b7599b5ca7c3b3b0>:0 at Mendix.Modeler.Utility.Progress.Step.Run (Mendix.Modeler.Utility.Progress.IProgressInfo info) [0x00000] in <daa4cf862b9d468ab8ea53820b9d8c11>:0 at Mendix.CommandLine.Shared.ProcessRunner.Run (Mendix.Modeler.Utility.Progress.IProcess process) [0x00032] in <f24288b4637f44d7839005abe8311e92>:0 at Mendix.MxBuild.BuildRunner.BuildProject (Mendix.Modeler.Core.IProject project, Mendix.MxBuild.IBuildOptions options, System.Collections.Generic.List`1[T] allowedLocations) [0x000c7] in <7eb33f45bd684bb0a21269bf803a4cff>:0 at Mendix.MxBuild.BuildRunner.Execute (Mendix.MxBuild.IBuildOptions options) [0x00098] in <7eb33f45bd684bb0a21269bf803a4cff>:0 at Mendix.MxBuild.BuildRunnerMode.ExecuteBuild (Mendix.MxBuild.IBuildOptions buildOptions) [0x00000] in <7eb33f45bd684bb0a21269bf803a4cff>:0 at Mendix.MxBuild.BuildRunnerMode.Run (System.Collections.Generic.IList`1[T] args) [0x0002a] in <7eb33f45bd684bb0a21269bf803a4cff>:0 at Mendix.MxBuild.ApplicationRunner.Run (System.Collections.Generic.IEnumerable`1[T] args) [0x00041] in <7eb33f45bd684bb0a21269bf803a4cff>:0 at Mendix.MxBuild.Program+<>c__DisplayClass1_0.<Main>b__0 (Mendix.MxBuild.IApplicationRunner a) [0x00000] in <7eb33f45bd684bb0a21269bf803a4cff>:0 at Mendix.CommandLine.Shared.ProgramHelper.InitializeAndRun[T] (System.Func`2[T,TResult] program, System.Reflection.Assembly[] extraAssemblies) [0x00011] in <f24288b4637f44d7839005abe8311e92>:0 ---> (Inner Exception #0) Mendix.Modeler.Deployment.DeploymentException: Cannot start the packager.<--- Close
asked
Arthur van der Molen
2 answers
5
As stated in the release notes, Apps in 8.0-beta1 cannot be deployed to the cloud.
Running and testing native mobile apps is currently only supported locally (meaning, from Mendix Studio Pro). Currently, app projects with a Native phone profile cannot be deployed to the cloud. This will be fixed with the next beta release.
The error is because Native app cannot be deployed to the Cloud currently.
If you check the release notes of Mendix 8 Beta 1 modeler, you find the info:
Running and testing native mobile apps is currently only supported locally (meaning, from Mendix Studio Pro). Currently, app projects with a Native phone profile cannot be deployed to the cloud.