Page 1 of 2

How to install Stimulsoft Reports.JS with bower

Posted: Wed May 24, 2017 9:39 am
by PaPy
Hi,

I'm working on the integration of your library into my app using Polymer.

I try to use Stimulsoft Reports.JS through a web component. But when I'm adding the Stimulsoft.reports.js script my app throw a DOMException. (See the error in attachment)

I think it is because I did not add Stimulsoft Reports.JS into my bower_components.

But I tried to use this through cmd :

Code: Select all

bower install stimulsoft-reports-js
It does not work and it tell me that the following link is not found :
https://github.com/stimulsoft-reports-j ... rts-js.git

May be my problem will be solved if I succeed to install stimulsoft-reports-js into my bower_components, So how can I resolved this issue ?

Re: How to install Stimulsoft Reports.JS with bower

Posted: Thu May 25, 2017 12:11 pm
by Andrew
Dear Pa Py,

Thank you for the question.

We currently support only NPM https://www.npmjs.com/package/stimulsoft-reports-js
Support for bower will be added in the nearest future. Hopefully, this week - if everything goes well :)

Thank you.

Re: How to install Stimulsoft Reports.JS with bower

Posted: Thu Jun 01, 2017 7:31 am
by PaPy
Hi,

Is it available now?

I do not know if the error come from bower, because you are not on bower, or if your library is not compatible with Polymer?

Re: How to install Stimulsoft Reports.JS with bower

Posted: Fri Jun 02, 2017 5:17 am
by Andrew
Hello,

No yet. Still working on this. I will answer you by email when it is ready.

Thank you.

Re: How to install Stimulsoft Reports.JS with bower

Posted: Fri Jun 02, 2017 7:16 am
by PaPy
Thanks for your answer Andrew,

I'm waiting for bower. But do you think Stimulsoft - Reports.JS and Polymer are compatible?
Have you already try your app in a web-component through Polymer?

Because I have to use Stimulsoft - Reports.JS through Polymer. And it could be a real problem if I can't because I'm working on a big project... :|

Re: How to install Stimulsoft Reports.JS with bower

Posted: Fri Jun 02, 2017 2:35 pm
by PaPy
Ok I just tried with another Polymer Project and no problem with the importation, I succeeded to use your functions.

So this is not a problem from bower.

Maybe it is another component that I use in my big project which prevents me to do the importation.

However I still do not know why I have this error when I try to import stimulsoft.reports.js :cry:

Re: How to install Stimulsoft Reports.JS with bower

Posted: Sat Jun 03, 2017 6:54 am
by Andrew
Hello,

Ok, please send us you sample project that reproduces the problem to identify the issue.

Waiting for your reply.
Thank you.

Re: How to install Stimulsoft Reports.JS with bower

Posted: Tue Jun 06, 2017 12:37 pm
by PaPy
Hi,

Sorry, I do not know if I'm allowed to share the project.

Finally, after many search I find why this error appears.

This DOMException do not prevent me to use Stimulsoft (It was a bad use of some syntax with Polymer).

But I found that this DOMException came from one of the web component we use in the bundle project. This component is called paper-time-picker. (https://github.com/bendavis78/paper-tim ... icker.html)

Hope it will help you to identify the problem.

Re: How to install Stimulsoft Reports.JS with bower

Posted: Fri Jun 09, 2017 10:42 am
by HighAley
Hello.

We will check this information and let you know about results.

Thank you.

Ticket number: #4382

Re: How to install Stimulsoft Reports.JS with bower

Posted: Mon Jun 12, 2017 9:24 am
by HighAley
Hello.

Maybe the issue is in the paper-time-picker component.
This component could overload system functions.
We do it too. Maybe this is an error of the compatibility.

Could you send us a small sample that reproduces the issue?

Thank you.