Skip to Content
1
May 18, 2020 at 07:58 PM

Smartedit Extension JS not available on Commerce Cloud 1905

481 Views

When I deploy Smartedit Extension on Commerce Cloud the following JS files from the folder "jsTarget" are not available.

*smartedit.js
*smarteditContainer.js

After the login to Smartedit the page shows blank and the browser console says vendor_chunk.js cant get these files.

At my local development environment and the test server I can reproduce it if "ant npminstall" was not executed and the folder "jsTarget" was not generated.

I already tried to add the npmancillary dependency to smartedit extensioninfo.xml.

<requires-extensionname="npmancillary"/>

Found this related topics but nothing helped:

https://enable.cx.sap.com/media/Build+a+SmartEdit+Extension+Using+Grunt+-+SAP+Commerce+Cloud/1_sbre9s9h/89743551

https://launchpad.support.sap.com/#/notes/2814310

https://help.sap.com/viewer/86dd1373053a4c2da8f9885cc9fbe55d/6.5.0.0/en-US/ad424f0b4381401e899c54ce7060f04a.html