Defining after hook matcher produces error related to node internals.

Hi, I'm trying to build a plugin for myself and while I try to add an after hook like so:
return {
id: "ungabunga",
hooks : {
after: [{
matcher: () => true,
.....
}]
}
}
return {
id: "ungabunga",
hooks : {
after: [{
matcher: () => true,
.....
}]
}
}
I'm using HONO... I get the following error:
# SERVER_ERROR: Error: TypeError: Cannot read properties of undefined ( reading 'reloadNavigation')
# SERVER_ERROR: Error: TypeError: Cannot read properties of undefined ( reading 'reloadNavigation')
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?