Cant import Nanoflow Commons module from Marketplace

0
Hi,  I’m on Studio Pro 9.1.1. I’m doing module 10 of the Rapid Application Developer Learning Path and I’m unable to import the Nanoflow Commons module, see error below. I have tried many different things (importing the app package again, downloading the module package and importing it locally and even re-installing Studio Pro) but nothing makes any difference.  Please advise! Maarten   Mendix.Modeler.Utility.Progress.ProgressException ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Maarten.de.Vries\Documents\Mendix\Learn_Now_App__after_Module_9_v8_18_3-main\javascriptsource\nanoflowcommons\actions\node_modules\@react-native-community\async-storage\macos\RNCAsyncStorage.xcodeproj\xcshareddata\xcschemes\RNCAsyncStorage-macOS.xcscheme'.    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)    at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)    at System.IO.FileStream..ctor(String path, FileMode mode)    at Mendix.Modeler.Utility.FileSystem.OpenNewFileForWriting(String filePath) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Utility\FileSystem.cs:line 202    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 46    at Mendix.Modeler.Packages.DefaultModulePackageImporter.<>c__DisplayClass19_0.<AddExtractFilesStep>b__0(IProgressInfo info) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Packages\DefaultModulePackageImporter.cs:line 237    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.Packages.DefaultModulePackageImporter.ImportModule(IProject project, HandlerInfo info, Func`3 askToAddOrReplaceModule) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Packages\DefaultModulePackageImporter.cs:line 104    at Mendix.Modeler.Packages.DefaultModulePackageImporter.ImportModule(IProject project, HandlerInfo info) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Packages\DefaultModulePackageImporter.cs:line 65    at Mendix.Modeler.Packages.ModulePackageImporter.ImportModule(IProject project, HandlerInfo info) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Packages\ModulePackageImporter.cs:line 33    at Mendix.Modeler.Packages.ModulePackageHandler.Handle(IProject project, HandlerInfo info) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Packages\ModulePackageHandler.cs:line 23    at Mendix.Modeler.AppStoreIntegration.AppStoreAppImporter.ImportApp(HandlerInfo info) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\AppStoreIntegration\AppStoreAppImporter.cs:line 77    at Mendix.Modeler.Core.View.AppStore.AppStoreAppImporterUI.ImportAppStoreApp(HandlerInfo info) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core.View.CrossPlatform\AppStore\AppStoreAppImporterUI.cs:line 72    at Mendix.Modeler.AppStore.Windows.Controls.AppDetails.downloadButton_MouseLeftButtonDown(Object sender, MouseButtonEventArgs e) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.AppStore.Windows\Controls\AppDetails\AppDetails.xaml.cs:line 357    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.OnMouseDownThunk(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
2 answers
1

nanoflow common is already existed since the beginning, you do not need to download it.

However you can try to clean the project one more time. and run local again

 

answered
1

The maximal length of a path in Windows is normally 255 characters. Your path is 263 characters long, so Windows won't allow the install.

Try you rename the folderstructure to stay below the 255.

PS: You can only influence this part ‘C:\Users\Maarten.de.Vries\Documents\Mendix\Learn_Now_App__after_Module_9_v8_18_3-main’ so I would go for a shorter Projectname. Just rename your Projectfolder in Windows Exlorer.

answered