Problem with angular components in backoffice

I get this in backoffice:

ERROR Error: Uncaught (in promise): TypeError: Cannot read property ‘call’ of undefined
TypeError: Cannot read property ‘call’ of undefined
at webpack_require (manifest.js?v=A98408774B38038F9E1555D728BF8229436003C116208C9D097D8A2F6E55A4D4:1)
at Module…/Accelerator/extensions.ts (Accelerator.js:1)

I cannot solve it. Its 7.4.0. I have done:
All the upgrade steps (taken fresh .ts files etc from accelerator)
removed node_modules and run buildclientprojects.bat etc etc… it still gives this error

Which version did you upgrade from?
Does it work without any custom component?

Don’t know which version, its a clone of another project that was already upgraded before.
No it does not work without any custom component either (= i removed the custom component from extensions.ts) the component that causes the error is the built in field-editor-filter-fields.

Is there any build error when running BuildClientProjects.bat?

You can also build the project in development mode by executing npm run build:w or yarn run build:w, which builds only the custom field type project.

I got multiple suggestions for cause by Nils on Slack-chat. Empty node_modules and change some component code… one or the other solved it. Not quite sure… possibly a combination

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.