#SSERTION ERROR: ID used for LView lookup must be a number

11 messages · Page 1 of 1 (latest)

tribal oriole
#

I am running the micro frontend, the host is angular 12, the remote is angular 18, i am trying to load remote on one route of host. It shows this error when first time reload the route.

robust blaze
#

Afaik this could be because of the version difference.

tribal oriole
#

As I said above, it is micro fe.

gilded trout
#

Depends how the mfe is setup.

#

If there is a single runtime, I can see this crash this error.

#

The LView has changed between v12 and v18

#

The same way a v18 lib can't be run in a v12 app.

#

You can't have an MFE v12 that loads a v18.

tribal oriole
#

if so, how do I migrate an angular 12 to 18 without breaking any changes of old version, my angular 12 project contains a lot of old business components.

gilded trout
#

Do a step by step migration from major to major (12 => 13 => 14 => 15 => 16 => 17 => 18)