3
votes

I am trying to setup SmartEdit in our spartacusstorefront. We use a customized extension which is based on spartacussampledataaddon.

Followed in the instructions in: https://sap.github.io/spartacus-docs/smartEdit-setup-instructions-for-spartacus/

But in smartedit, we get this error: No component factory found for SmarteditElementComponent. Did you add it to @NgModule.entryComponents

Any pointers

1
See if this will help you: answers.sap.com/answers/13005689/view.html Let us know how it goes. - geffchang
Thank you. I will follow this. But for the step: ant addoninstall -Daddonnames=smarteditaddon -DaddonStorefront.yacceleratorstorefront=<your_custom_storefront> which storefront should I select as spartacus is a headless storefront. - Mahesh
I followed the additional steps. 1. Added the required extensions for smartedit. 2. ant addoninstall -Daddonnames="smarteditaddon" -DaddonStorefront.yacceleratorstorefront="electronicsstore" 3. Update system of extensions included earlier. 4. ant npminstall 5. ant build 6. Start server. Still the same error. - Mahesh
I think you can skip the addoninstall for storefront. - geffchang
@geffchang off topic, but there could actually be cases where one likes to mix a Spartacus storefront and accelerator storefront on a single platform. Either in a multi-site setup, where some brands/stores are running other storefront, or in case customers transition to Spartacus in steps. - tobi-or-not-tobi

1 Answers

3
votes

This error actually does not relate to Spartacus, it's a SmartEdit edit error instead. The SmartEdit team is not watching this channel, so Id recommend to use existing help/support/consultant channels to fix your issue.