Activities of "nlachmuth"

Answer

Hi,

i just updated to v4.3.0 an noticed that the abp bundle command throws an exception related to the file management module.

PS C:\Users\Nico\Source\Repos\nl-bae-crm\aspnet-core\src\NL.Bae.Crm.Blazor> abp bundle
[11:21:13 INF] ABP CLI (https://abp.io)
[11:21:13 INF] Version 4.3.0 (Stable)
[11:21:15 INF] Generating style bundle...
[11:21:15 INF] Style bundle has been generated successfully.
[11:21:15 INF] Generating script bundle...
[11:21:15 WRN] Unable to minify the file: AuthenticationService.js. Adding file to the bundle without minification.
[11:21:15 ERR] Could not find a part of the path 'C:\Users\Nico\.nuget\packages\volo.filemanagement.blazor\4.3.0\staticwebassets\filemanagement\js\filemanagement.js'.
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Nico\.nuget\packages\volo.filemanagement.blazor\4.3.0\staticwebassets\filemanagement\js\filemanagement.js'.
   at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
   at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at System.IO.StreamReader.ValidateArgsAndOpenPath(String path, Encoding encoding, Int32 bufferSize)
   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks)
   at System.IO.File.InternalReadAllText(String path, Encoding encoding)
   at System.IO.File.ReadAllText(String path)
   at Volo.Abp.Cli.Bundling.BundlerBase.GetFileContent(String filePath, Boolean minify) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Bundling\BundlerBase.cs:line 113
   at Volo.Abp.Cli.Bundling.BundlerBase.BundleFiles(BundleOptions options, List`1 bundleDefinitions) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Bundling\BundlerBase.cs:line 78
   at Volo.Abp.Cli.Bundling.BundlerBase.Bundle(BundleOptions options, BundleContext context) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Bundling\BundlerBase.cs:line 37
   at Volo.Abp.Cli.Bundling.BundlingService.BundleAsync(String directory, Boolean forceBuild) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Bundling\BundlingService.cs:line 86
   at Volo.Abp.Cli.Commands.BundleCommand.ExecuteAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\BundleCommand.cs:line 43
   at Volo.Abp.Cli.CliService.RunAsync(String[] args) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\CliService.cs:line 59

It seems that the js asset of the file management module are missing in v4.3.0.

As a workaround i copied the js folder from v4.2 nuget to the 4.3.0 directory, to get the bundling working.

Answer

@alper, I just upgraded to 3.3.0-rc1 and got the same error as trendline.

AbpException: Could not find the bundle file '/libs/cropperjs/css/cropper.min.css' from IWebContentFileProvider

I ran yarn and gulp to make sure everythink is installed. The workaround from trendline works but I think it should be fixed by the framework. As you said cropperjs should be shipped by the packages.

Showing 1 to 2 of 2 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09