I am trying to test this very interesting module in my Drupal 8 Test/Playground site.
I installed it via composer and followed all the steps advised in the Readme.txt file to enable the Angular 2 sub-module (npm install and ts to compile ts files into js).
I am experienced with Angular 1, but not yet with Angular 2, so really not so able to guess how to fix the errors the appear in the browser console when I put an NG2 Block in an Home Page Region and try to reload the page. No Angular 2 component in initialized and rendered (just the Block title).

Here attached is the screenshot file of the errors highlighted in my console.
Anyone can find the causes and tell me the best solutions / fixes?

Tnx in advance.

CommentFileSizeAuthor
decoupled_blocks_error.jpg300.42 KBitamair
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

itamair created an issue. See original summary.

mrjmd’s picture

Hi itamair, I think this may be a pathing issue we have seen in older versions where the Angular 2 module was not working when pdb was placed in some nested directories (like modules/contrib instead of modules/).

This should be resolved now, can you try the latest release and let me know if you still see the issue?

mrjmd’s picture

Status: Active » Closed (outdated)

I'm closing this as outdated... if such issues come up again please open a new issue.