Cannot start the blank Native Mobile App

0
I cannot start an app from the blank Native Mobile App template, as described in the quickstart guide for Mendix Studio Pro: https://docs.mendix.com/refguide/quickstart-part1/   I get the following message:  Mendix.Modeler.Utility.Progress.ProgressException ---> System.IO.IOException: The process cannot access the file '\\gimecb01\HOMEDIR-MP$\morilla\Mendix\quickstart\javascriptsource\nativemobileresources\actions\node_modules\fbjs\node_modules\core-js\fn\number\virtual' because it is being used by another process.    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)    at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)    at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)    at Mendix.Modeler.Utility.FileSystem.CreateDirectory(String path) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Utility\FileSystem.cs:line 146    at Mendix.Modeler.Packages.PackageExtractor.Extract(ZipFile zipFile, IEnumerable`1 files, String baseDirectory, Func`2 getUpdatedFilePath) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Packages\PackageExtractor.cs:line 42    at Mendix.Modeler.Packages.PackageExtractor.Extract(ZipFile zipFile, IEnumerable`1 files, String destinationPath) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Packages\PackageExtractor.cs:line 24    at Mendix.Modeler.ProjectHandling.Packages.ProjectPackageImporter.<>c__DisplayClass7_0.<Import>b__0(IProgressInfo info) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.ProjectHandling\Packages\ProjectPackageImporter.cs:line 46    at Mendix.Modeler.UIFramework.Progress.ProcessRunner.RunStep(Step step) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 101    at Mendix.Modeler.UIFramework.Progress.ProcessRunner.OnDoWork(Object sender, DoWorkEventArgs e) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 74    at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)    at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)    --- End of inner exception stack trace ---    at Mendix.Modeler.UIFramework.Progress.ProcessRunner.Run() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 52    at Mendix.Modeler.ProjectHandling.Packages.ProjectPackageImporter.Import(CreateProjectConfig config, ZipFile zipFile, ModelerPackage package, String title, Boolean isNewProject) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.ProjectHandling\Packages\ProjectPackageImporter.cs:line 61    at Mendix.Modeler.ProjectHandling.Packages.ProjectPackageImporterUI.ImportPackage(CreateProjectConfig config, ZipFile zipFile, ModelerPackage package, String processTitle, Boolean isNewProject) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.ProjectHandling\Packages\ProjectPackageImporterUI.cs:line 116    at Mendix.Modeler.ProjectHandling.Packages.ProjectPackageImporterUI.Import(String packageFilePath, CreateProjectConfig config, String processTitle, Boolean isNewProject) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.ProjectHandling\Packages\ProjectPackageImporterUI.cs:line 86    at Mendix.Modeler.ProjectHandling.Creators.AppStoreProjectCreator.CreateAppStoreProject(String appId, Func`2 getSettings, String processTitle) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.ProjectHandling\Creators\AppStoreProjectCreator.cs:line 75    at Mendix.Modeler.ProjectHandling.Creators.ProjectCreator.CreateProject(AppTemplate template, AppSettings settings) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.ProjectHandling\Creators\ProjectCreator.cs:line 50    at Mendix.Modeler.ProjectHandling.Creators.ProjectCreatorUI.CreateProject(AppTemplate template) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.ProjectHandling.View\Creators\ProjectCreatorUI.cs:line 58    at Mendix.Modeler.Core.View.CrossPlatform.Dashboard.DashboardTabContent.<>c__DisplayClass25_0.<.ctor>b__0(AppTemplate appTemplate) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core.View.CrossPlatform\Dashboard\DashboardTabContent.cs:line 51    at Mendix.Modeler.Core.View.CrossPlatform.Dashboard.DashboardTabContent.RaiseAppTemplateActivated(AppTemplate appTemplate) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core.View.CrossPlatform\Dashboard\DashboardTabContent.cs:line 102    at Mendix.Modeler.Core.View.CrossPlatform.Dashboard.DashboardTabContent.DashboardTabContentCallback.OnAppTemplateActivated(DashboardTabContent widget, AppTemplate appTemplate, EventArgs eventArgs) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core.View.CrossPlatform\Dashboard\DashboardTabContent.cs:line 139    at Mendix.Modeler.Core.View.Windows.Dashboard.DashboardTabContentHandler.<CreateControl>b__6_1(AppTemplate appTemplate) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core.View.Windows\Dashboard\DashboardTabContentHandler.cs:line 30    at Mendix.Modeler.Core.View.Windows.Dashboard.DashboardControl.ActivateTemplate(AppTemplate appTemplate) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core.View.Windows\Dashboard\DashboardControl.xaml.cs:line 72    at Mendix.Modeler.Core.View.Windows.Dashboard.Views.TemplateDetailsView.OnUseThisTemplateClicked(Object sender, RoutedEventArgs e) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core.View.Windows\Dashboard\Views\TemplateDetailsView.xaml.cs:line 38    at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)    at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)    at System.Windows.Controls.Primitives.ButtonBase.OnClick()    at System.Windows.Controls.Button.OnClick()    at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)    at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)    at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)    at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)    at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)    at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)    at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)    at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)    at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)    at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)    at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)    at System.Windows.Input.InputManager.ProcessStagingArea()    at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)    at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)    at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)    at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)    at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)    at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)    at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)    at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)  
asked
4 answers
2

Hi Victor Morilla,

Kindly check there is any application running in the same port, if not once restart you system and try it works.

Thanks.

answered
2

Hi Victor,

Kindly make sure that all the module roles you’ve created have access to the native home page (Home_Native). 

Hope this helps!

Thanks.

 

answered
0

Thank you all for the support. I managed to solve the problem by changing the target folder of my project. By default, in my local setup it points to a network drive and that seems to cause problems. 

 

answered
0

Hi Victor Morilla,

Check the port number and clean the deployment dir, Sync once and Re-run once.

 

answered