Closed
Description
Please provide the environment you discovered this bug in.
https://github.com/remes2000/analog-angv18-bug
Which area/package is the issue in?
content
Description
Angular v18 + analog 1.61.1 combo produces following error on console: (see error section below)
@analogjs/content expects @angular/core to have ɵPendingTasksInternal
exported, but this method is not exported in Angular v18. There's however similar method called ɵPendingTasks that is exported in v18.
Angular v19 however has ɵPendingTasksInternal
but has not ɵPendingTasks
.
I encountered this issue while trying to upgrade my blog to newest analog + newest Angular - so I think a lot of people may encounter this error as well.
Please provide the exception or error you saw
Uncaught SyntaxError: The requested module '/node_modules/.vite/deps/@angular_core.js?v=7808b106' does not provide an export named 'ɵPendingTasksInternal' (at analogjs-content.mjs?v=7808b106:3:59)
Other information
No response
I would be willing to submit a PR to fix this issue
- Yes (but to be honest I don't know how this issue could be fixed 😅)
- No