cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Smart Edit blank page

Former Member
0 Kudos
2,373

Hello, everyone !

I can access smartEdit in my local environment. But when I try access smartEdit in the Production environment, I have a blank page

I have no error when I get the log by Hac.

But, when I access the browser log, I have the following error mensanges:

Angular is not defined for smarteditcontainer.js and smarteditloader.js and error appears in the request : smartedit/static-resources/dist/smartedit/js/thirdparties.js

Anyone have any suggestions for this case?

My hybris version : 6.5.0.9

Regards, Felipe.

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Happened with me as well. You need to clear the COMPLETE npm cache. If you run npm cache clean it will remove the corrupted cache (if any), but in order to clear complete npm cache, you need to execute npm cache clean --forceat *\hybris\bin\custom\module\modulestorefront* path. Run ant clean all after this and then start the server. Hope it helps.

Check this for more details -> Previous Answer

Former Member
0 Kudos
Former Member
0 Kudos

, Are you able to access the login page for smartedit or it is while trying to access the login page?

Former Member
0 Kudos

when I try to access the login page

Former Member
0 Kudos

Can you please check and upload the screenshot of network tab from browser console?

Former Member
0 Kudos

I have this javascript file(thirdparties), I do not understand why it is returning 404

arvind-kumar_avinash
Active Contributor
0 Kudos

Please execute the command ant npminstall clean all from ${HYBRIS_BIN_DIR}/platform directory and restart the server.

If it still doesn't work, please execute the following commands and restart the server:

 ant addoninstall -Daddonnames=smarteditaddon -DaddonStorefront.yacceleratorstorefront=<your_custom_storefront>
 
 ant npminstall
 
 ant clean all

If it still does not turn up, please execute ant updatesystem and restart the server.

Former Member
0 Kudos

first of all, thanks for the suggestion. I forgot to mention the version of my hybris that is 6.5.0.9

I've made all your suggestions and it's not working yet. except for the command ant npminstall (this command is supported for the newer versions of hybris).

Is there anything else I have to do?

arvind-kumar_avinash
Active Contributor
0 Kudos

Hi - I am not sure from your response to whether you have the following extensions in localextensions.xml or not. If they are not there, please include them and execute the command, ant all updatesystem and restart the server

 cmswebservices
 permissionswebservices
 previewwebservices
 smartedit

Also, please ensure the following, as mentioned at https://help.sap.com/viewer/86dd1373053a4c2da8f9885cc9fbe55d/6.5.0.0/en-US/0955af7dd5154a8db28dfce32...

Former Member
0 Kudos

I already have all these extensions, I executed the command and it does not work (I have this javascript file(thirdparties), I do not understand why it is returning 404)

  • will follow this link that you sent me and wish it to work. Thank you very much

VinayKumarS
Active Contributor
0 Kudos

Make sure that you have all below extensions added

 'smarteditwebservices'
 'cmssmarteditwebservices'
 'smarteditaddon'
 'cmssmartedit'
 'personalizationsmartedit'
  'personalizationpromotionssmartedit'
 'personalizationsearchsmartedit'

install smarteditaddon one more time and do the update for all the above extensions by selecting. then check

Former Member
0 Kudos

first of all, thanks for the suggestion.

I checked and already had all the extensions (I have these extensions), but still with the blank page with not foundthridparty.js (but I have this file) and Angular is not defined for smarteditcontainer.js and smarteditloader.js

I forgot to mention the version of my hybris that is 6.5.0.9

Is there anything else I have to do for this version?