How to install Stimulsoft Reports.JS with bower

Stimulsoft Reports.JS discussion
PaPy
Posts: 34
Joined: Fri May 19, 2017 1:51 pm

How to install Stimulsoft Reports.JS with bower

Post 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 ?
Attachments
error.PNG
error.PNG (57.86 KiB) Viewed 4452 times
Andrew
Posts: 4104
Joined: Fri Jun 09, 2006 3:58 am

Re: How to install Stimulsoft Reports.JS with bower

Post 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.
PaPy
Posts: 34
Joined: Fri May 19, 2017 1:51 pm

Re: How to install Stimulsoft Reports.JS with bower

Post 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?
Andrew
Posts: 4104
Joined: Fri Jun 09, 2006 3:58 am

Re: How to install Stimulsoft Reports.JS with bower

Post by Andrew »

Hello,

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

Thank you.
PaPy
Posts: 34
Joined: Fri May 19, 2017 1:51 pm

Re: How to install Stimulsoft Reports.JS with bower

Post 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... :|
PaPy
Posts: 34
Joined: Fri May 19, 2017 1:51 pm

Re: How to install Stimulsoft Reports.JS with bower

Post 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:
Attachments
error.PNG
error.PNG (57.86 KiB) Viewed 4395 times
Andrew
Posts: 4104
Joined: Fri Jun 09, 2006 3:58 am

Re: How to install Stimulsoft Reports.JS with bower

Post by Andrew »

Hello,

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

Waiting for your reply.
Thank you.
PaPy
Posts: 34
Joined: Fri May 19, 2017 1:51 pm

Re: How to install Stimulsoft Reports.JS with bower

Post 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.
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: How to install Stimulsoft Reports.JS with bower

Post by HighAley »

Hello.

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

Thank you.

Ticket number: #4382
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: How to install Stimulsoft Reports.JS with bower

Post 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.
Post Reply