Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "jollyticket"

Question

Hello friends, any suggestion for this error?

ERROR in ./node_modules/abp-ng2-module/src/auth/permission-checker.service.ts Module build failed: Error: S:\Progetti\SLT\Voiago\Dev\branch-main-fw522\angular\node_modules\abp-ng2-module\src\auth\permission-checker.service.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property. The missing file seems to be part of a third party library. TS files in published libraries are often a sign of a badly packaged library. Please open an issue in the library repository to alert its author and ask them to package the library using the Angular Package Format (<a class="postlink" href="https://goo.gl/jB3GVv">https://goo.gl/jB3GVv</a>). at AngularCompilerPlugin.getCompiledFile (S:\Progetti\SLT\Voiago\Dev\branch-main-fw522\angular\node_modules@ngtools\webpack\src\angular_compiler_plugin.js:709:23) at plugin.done.then (S:\Progetti\SLT\Voiago\Dev\branch-main-fw522\angular\node_modules@ngtools\webpack\src\loader.js:41:31) at <anonymous> at process._tickCallback (internal/process/next_tick.js:160:7) ERROR in ./node_modules/abp-ng2-module/src/session/abp-session.service.ts Module build failed: Error: S:\Progetti\SLT\Voiago\Dev\branch-main-fw522\angular\node_modules\abp-ng2-module\src\session\abp-session.service.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property. The missing file seems to be part of a third party library. TS files in published libraries are often a sign of a badly packaged library. Please open an issue in the library repository to alert its author and ask them to package the library using the Angular Package Format (<a class="postlink" href="https://goo.gl/jB3GVv">https://goo.gl/jB3GVv</a>). at AngularCompilerPlugin.getCompiledFile (S:\Progetti\SLT\Voiago\Dev\branch-main-fw522\angular\node_modules@ngtools\webpack\src\angular_compiler_plugin.js:709:23) at plugin.done.then (S:\Progetti\SLT\Voiago\Dev\branch-main-fw522\angular\node_modules@ngtools\webpack\src\loader.js:41:31) at <anonymous> at process._tickCallback (internal/process/next_tick.js:160:7) Failed to compile

I have just upgrade my project to abp 5.5.2.

Angular CLI: 6.0.8
Node: 9.5.0
OS: win32 x64
Angular: 6.0.4
... animations, common, compiler, compiler-cli, core, forms
... http, platform-browser, platform-browser-dynamic
... platform-server, router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.6.0
@angular-devkit/build-angular     0.6.0
@angular-devkit/build-optimizer   0.6.0
@angular-devkit/core              0.6.8
@angular-devkit/schematics        0.6.8
@angular/cli                      6.0.8
@ngtools/webpack                  6.0.0
@schematics/angular               0.6.8
@schematics/update                0.6.8
rxjs                              6.2.0
typescript                        2.7.2
webpack                           4.6.0

Hello, I have just deployed my abp app to azure: ANGULAR: <a class="postlink" href="https://myapp-dev-client.azurewebsites.net">https://myapp-dev-client.azurewebsites.net</a> SERVER: <a class="postlink" href="https://myapp-dev-server.azurewebsites.net">https://myapp-dev-server.azurewebsites.net</a>

Can you suggest me how to set the dns mydomain.com to resolve the tenant on sub domain? I think that *.mydomain.com go to the angular app, but how can I set the DNS for the server?

It's important for me that the server app don't lose the domain multitenant resolver.

Is there a way to deploy client and server on the same app on azure like demo.aspnetzero.com?

thanks for your help

Any idea about the following error? I trigger an event inside my controller on MyCompany.Web.Core. I have an external module that handle the specific event and at the end publish a notification.

System.NullReferenceException HResult=0x80004003 Message=Object reference not set to an instance of an object. Source=Microsoft.AspNetCore.Http.Extensions StackTrace: at Microsoft.AspNetCore.Http.Extensions.UriHelper.GetDisplayUrl(HttpRequest request) at Abp.AspNetCore.EntityHistory.HttpRequestEntityChangeSetReasonProvider.get_Reason() at Abp.EntityHistory.EntityHistoryHelper.CreateEntityChangeSet(ICollection1 entityEntries) at Abp.Zero.EntityFrameworkCore.AbpZeroCommonDbContext3.<SaveChangesAsync>d__98.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Abp.EntityFrameworkCore.Uow.EfCoreUnitOfWork.<SaveChangesInDbContextAsync>d__20.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Abp.EntityFrameworkCore.Uow.EfCoreUnitOfWork.<SaveChangesAsync>d__12.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Abp.Notifications.NotificationStore.<InsertNotificationAsync>d__8.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Abp.Threading.InternalAsyncHelper.<AwaitTaskWithPostActionAndFinally>d__1.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at Abp.Notifications.NotificationPublisher.<PublishAsync>d__12.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Abp.Threading.InternalAsyncHelper.<AwaitTaskWithPostActionAndFinally>d__1.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.GetResult() at Voiago.Core.Business.Notifications.VoiagoNotifier.<ReservationChangedAsync>d__2.MoveNext() in S:\Progetti\SLT\Voiago\Dev\branch-startup\aspnet-core\src\Voiago.Core.Business\Notifications\VoiagoNotifier.cs:line 23 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.GetResult() at Voiago.Core.Business.EventSync.Handlers.EventSyncHandler.<HandleEvent>d__11.MoveNext() in S:\Progetti\SLT\Voiago\Dev\branch-startup\aspnet-core\src\Voiago.Core.Business\EventSync\Handlers\EventSyncHandler.cs:line 70

Hi,

I use Asp.Net Zero project with Asp.Net Core and Angular applications.

I create MyAppService and one method that returns an AjaxResponse<MyDto> object to set result, success and error properties of AjaxResponse. Then through NSwag tool I generate the proxy for Angular but when I call my method on client side, the response doesn't parse correctly because I read only the dto in result property and not the full AjaxResponse. On browser network the response with AjaxResponse seems correctly.

How can I parse correctly the AjaxResponse? I try with WrapResult and DontWrapResult attribute on method but seems don't work.

Thanks

Is there a way to set the "targetUrl" value from an ApplicationService? I want use this property to redirect the user under a particular condition. Im'm using the asp.netcore/angular template.

thanks

Showing 1 to 5 of 5 entries