You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Signal inputs migration is not taking templates into account #58455
Which @angular/* package(s) are the source of the bug?
migrations
Is this a regression?
No
Description
Here is a PR with the automated run of the inputs migration in the "safe" mode: #58453
The are number of problems with the outcome, we should go over the problematic migrations and see if those are adev specific or applicable to other applications as well.
Please provide a link to a minimal reproduction of the bug
@pkozlowski-opensource I've digged into it (and learned a few things in how we can debug those things easier in the future; so it was a useful exercise).
I think the issue is that you ran without a "valid" setup. The Angular compiler couldn't properly generate type check blocks because you didn't have @angular/core (and other dependencies) in the adev/node_modules folder. So, lookups failed and the Angular compiler simply couldn't register the templates etc.
When I copied node_modules to adev, fixed the tsconfig.json path mappings, it worked as expected. I think adev is not a project that we would see in the wild. Seems to work as expected IMO; but we could look into better messaging in such "weird" situations.
Activity
pkozlowski-opensource commentedon Oct 31, 2024
cc @devversion
devversion commentedon Nov 4, 2024
@pkozlowski-opensource I've digged into it (and learned a few things in how we can debug those things easier in the future; so it was a useful exercise).
I think the issue is that you ran without a "valid" setup. The Angular compiler couldn't properly generate type check blocks because you didn't have
@angular/core(and other dependencies) in theadev/node_modulesfolder. So, lookups failed and the Angular compiler simply couldn't register the templates etc.When I copied
node_modulestoadev, fixed thetsconfig.jsonpath mappings, it worked as expected. I thinkadevis not a project that we would see in the wild. Seems to work as expected IMO; but we could look into better messaging in such "weird" situations.angular-automatic-lock-bot commentedon Dec 6, 2024
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.