52abp.template's Issues
npm install
npm WARN @delon/[email protected] requires a peer of qrious@^4.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
ngular-zorro-free> ng server
Your global Angular CLI version (6.1.3) is greater than your local
version (6.0.8). The local Angular CLI version is used.
To disable this warning use "ng config -g cli.warnings.versionMismatch false".
The specified command ("server") is invalid. For a list of available options,
run "ng help".
Did you mean "serve"?
An error occurred while starting the application.
SqlException: 列名 'CreatorUserId1' 无效。
列名 'DeleterUserId1' 无效。
列名 'LastModifierUserId1' 无效。
System.Data.SqlClient.SqlConnection.OnError(SqlException exception, bool breakConnection, Action wrapCloseInAction)
找到原因了。。EntityFrameworkCore 。DbContext。OnModelCreating必须加base.OnModelCreating(modelBuilder);
===========================================================
VVV.EntityFrameworkCore.Seed.Tenants.DefaultTenantBuilder.CreateDefaultTenant() in DefaultTenantBuilder.cs
+
var defaultTenant = _context.Tenants.IgnoreQueryFilters().FirstOrDefault(t => t.TenancyName == AbpTenantBase.DefaultTenantName);
VVV.EntityFrameworkCore.Seed.Tenants.DefaultTenantBuilder.Create() in DefaultTenantBuilder.cs
+
CreateDefaultTenant();
VVV.EntityFrameworkCore.Seed.SeedHelper.SeedHostDb(VVVDbContext context) in SeedHelper.cs
+
new DefaultTenantBuilder(context).Create();
VVV.EntityFrameworkCore.Seed.SeedHelper.WithDbContext(IIocResolver iocResolver, Action contextAction) in SeedHelper.cs
+
contextAction(context);
VVV.EntityFrameworkCore.Seed.SeedHelper.SeedHostDb(IIocResolver iocResolver) in SeedHelper.cs
+
WithDbContext(iocResolver, SeedHostDb);
VVV.EntityFrameworkCore.VVVEntityFrameworkModule.PostInitialize() in VVVEntityFrameworkModule.cs
+
SeedHelper.SeedHostDb(IocManager);
System.Collections.Generic.List.ForEach(Action action)
Abp.AbpBootstrapper.Initialize() in AbpBootstrapper.cs
Abp.AspNetCore.AbpApplicationBuilderExtensions.InitializeAbp(IApplicationBuilder app) in AbpApplicationBuilderExtensions.cs
Abp.AspNetCore.AbpApplicationBuilderExtensions.UseAbp(IApplicationBuilder app, Action optionsAction) in AbpApplicationBuilderExtensions.cs
VVV.Web.Host.Startup.Startup.Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory) in Startup.cs
+
app.UseAbp(options => { options.UseAbpRequestLocalization = false; }); // Initializes ABP framework.
Microsoft.AspNetCore.Hosting.ConventionBasedStartup.Configure(IApplicationBuilder app)
Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()
项目版本:v5.1.1
错误详情:
在build前端项目时,报错
错误位置:
记得之前abp有vue模板吧,现在官网没有了,是已经放弃维护了吗?
Microsoft Visual Studio
无法计算表达式“[MSBuild]::NormalizePath(C:\Users\y7124729\Documents\Third Party SourceCodes\LTMCompanyNameFree.YoyoCmsTemplate-master\src\aspnet-core\src\LTMCompanyNameFree.YoyoCmsTemplate.EntityFrameworkCore, obj\Debug\netcoreapp2.1\LTMCompanyNameFree.YoyoCmsTemplate.EntityFrameworkCore.assets.cache)”。Path: C:\Users\y7124729\Documents\Third Party SourceCodes\LTMCompanyNameFree.YoyoCmsTemplate-master\src\aspnet-core\src\LTMCompanyNameFree.YoyoCmsTemplate.EntityFrameworkCore\obj\Debug\netcoreapp2.1\LTMCompanyNameFree.YoyoCmsTemplate.EntityFrameworkCore.assets.cache exceeds the OS max path limit. The fully qualified file name must be less than 260 characters. C:\Program Files\dotnet\sdk\2.1.401\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets
确定
真的稍微目录深一点就报错了。。
LTM.YoyoCmsTemplate
就好了嘛
Hi, there is change about "Some assemblies removed from Microsoft.AspNetCore.App" in .NET 6 Preview 3 which will effect your app when running against .NET 6 Preview 3 and later, for details, please discussion see in dotnet/aspnetcore#31387. You might need add a PackageReference to the affected project for the removed assemblies.
与原模板相比,导航与内容之间的灰色滚动条,还可以优化吗?
pro版本前端项目build报错
version:3.1.0
严重性 代码 说明 项目 文件 行 禁止显示状态
错误 MSB3491 未能向文件“obj\Debug\netcoreapp2.1\LTMCompanyNameFree.YoyoCmsTemplate.Core.csproj.CoreCompileInputs.cache”写入命令行。指定的路径或文件名太长,或者两者都太长。完全限定文件名必须少于 260 个字符,并且目录名必须少于 248 个字符。 LTMCompanyNameFree.YoyoCmsTemplate.Core D:\Program Files (x86)\Microsoft Visual Studio\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets 3426
无法保存新建用户,页面中的保存按钮的type为submit,去掉click。