Page 2 of 5

Re: Setup Stimulsoft with Angular 5

Posted: Fri May 04, 2018 2:02 pm
by mrapi
Hi,can you post a working project with webpack?

Re: Setup Stimulsoft with Angular 5

Posted: Fri May 04, 2018 2:26 pm
by Lech Kulikowski
Hello,

Sorry, we do not use webpack, we are using Angular CLI: https://cli.angular.io/

Thank you.

Re: Setup Stimulsoft with Angular 5

Posted: Fri May 04, 2018 2:39 pm
by mrapi
Too bad,In this case I can't use your product :(
all Visual Studio 2017 or VS Code templates for Angular+Asp Core are based on webpack
https://blogs.msdn.microsoft.com/webdev ... tservices/

there is no way to make it work?
thanks

Re: Setup Stimulsoft with Angular 5

Posted: Fri May 04, 2018 10:14 pm
by Edward
Hi Mrapi,

Sorry to learn that there is something that stops you from using our product.

Do you mind to send us a sample project based on these links to support[at]stimulsoft.com?

We will review it and will suggest on what could be done in that case?
Thank you,
Edward

Re: Setup Stimulsoft with Angular 5

Posted: Sat May 05, 2018 4:33 am
by mrapi
Hi Edward,I've sent sample project.thanks

Re: Setup Stimulsoft with Angular 5

Posted: Mon May 07, 2018 10:25 am
by Lech Kulikowski
Hello,

Thank you. We will reply to you by email.

Re: Setup Stimulsoft with Angular 5

Posted: Wed May 09, 2018 1:43 pm
by mrapi
Hi.I got no email till now,meanwhile I've moved my project to angular.cli and your code works but it is only for designer,can you update the code for viewer sample too
https://github.com/stimulsoft/Samples-J ... er/Angular
that's what I need.now it gives me that error: No provider for Http !

Code: Select all

ERROR Error: StaticInjectorError(AppModule)[EditRezComponent -> Http]: 
  StaticInjectorError(Platform: core)[EditRezComponent -> Http]: 
    NullInjectorError: No provider for Http!
thanks

Re: Setup Stimulsoft with Angular 5

Posted: Mon May 14, 2018 7:35 am
by mrapi
any answer?thanks

Re: Setup Stimulsoft with Angular 5

Posted: Mon May 14, 2018 12:41 pm
by mrapi
error is gone declaring HttpModule in app.module but inside my project (ASP Core) seems it can't find reports folder.got this in console:

Code: Select all

Failed to load resource: the server responded with a status of 404 (Not Found)   reports/Report.mdc
with simple angular cli project it works
thanks

Re: Setup Stimulsoft with Angular 5

Posted: Mon May 14, 2018 1:38 pm
by Lech Kulikowski
Hello,

Please try to upload and recompile it again.

Also, please try to check the "assets" property in the .angular-cli.json:

"apps": [
{
"root": "src",
"outDir": "dist",
"assets": [
"assets",
"favicon.ico",
"reports"
],

Thank you.