How correct load report from json file in Angular 4.
Thank you for your question. Please find the example in our Angular4 integration tutorial. You can initialize the
[report] property with the link either to local or remote file. Also, you can pass the JSON object with the report directly to the component. Please find more information about configuring the report here.
Let us know if everything works fine for you.
For example(check attachment):
Program is compiled(npm start) and button “TEST” work but still have error. I just want to fix that because i cant “ng build”.
webpack: Compiled successfully.
ERROR in src/app/pages/pivot/pivot/pivot.component.ts(31,9): error TS2304: Canno
t find name ‘flexmonster’.
Thank you for writing. Please get the latest Angular4 project from our repository. You will find the example of how to call the API calls in the app.component.ts file:
Also please check the changes in the app.component.html file.
Let us know if it solves the case.
Hello again 🙂
I copy your project still have same errors, maybe npm or node version is wrong ?
I repeat again what its my problem.
Button work correct. I want to remove this errors in node console because with this i cant deploy project to spring server or maybe i do this incorrect.
NPM and Node versions are correct. We have checked once more and found one issue which was preventing the successful compilation. Our team kindly asks you to get the update from GitHub repository: https://github.com/flexmonster/pivot-angularjs4. Everything should work as expected.
Please let me know if the issue is resolved.
Thanks for help