Start a new topic
Answered

Angular2 cli Issue

Hi,

I have tried using the Angular CLI to create a project with the Kinvey angular 2 sdk but have run into issues with components not loading correctly. I have to refresh the page on every router.navigate call for anything to work. I have attached the project which is based of the angular2 starter project (client config not included). Could it be the angular cli project default packages (zone etc.) are incompatible with kinvey sdk?

zip

Best Answer

Michael,


There seems to be a bug in routing mechanisms in Angular and not in the Kinvey SDK.

Can you please check the 'angular router' version? Please try using v4.1.3 and let me know the results.


Thanks,

Pranav


Is there any update on this? I am halted at the moment.

Could I get some assistance please?

I think my problem is related to this issue, however changing the import statements as suggested does not resolve this issue.

Thanks Pranav,


Unfortunately I have not heard anything more from Thomas. Is this something you can assist with?

Hey Michael,

Engineering is working on Angular2 issues and trying to get a new release out as soon as possible. Will keep you updated on the progress.

Thanks,
Pranav

 

Thanks Pranav I really appreciate the assistance.
Michael,

I will ping Thomas once again and let you know.

Thanks,
Pranav

 

Michael,


You are already discussing the problem with Thomas here. Were you able to test the example app created by Thomas? Can you please share your results here so that Thomas could help you further?


Also, can you please upgrade to the latest Kinvey SDK v3.8.1?


Thanks,

Pranav

Answer

Michael,


There seems to be a bug in routing mechanisms in Angular and not in the Kinvey SDK.

Can you please check the 'angular router' version? Please try using v4.1.3 and let me know the results.


Thanks,

Pranav

Hi Pranav,


I was using router version 4.4.3, downgrading to 4.1.3 seems to have resolved the issue. Thanks so much to you and Thomas for the assistance. It's greatly appreciated.


Michael,

We are glad as the issue has been resolved. Thank you so much for your patience!

Thanks,
Pranav

 

Hi Pranav, I have been working with Thomas on this but he appears too busy to respond. I really need assistance in getting this resolved.

Michael,

Thanks for providing sample project. I have few initial questions for you :
  1. What version of the Angular SDK you are using?
  2. What version of the Kinvey CLI you are using?
  3. Can you please elaborate on "components not loading" issue? If you could send a screenshot of the issue that would be great.

Thanks,

Pranav

Is there any update on this?

Login or Signup to post a comment