on 2019 Jun 28 6:26 AM
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.

Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There could be some problem with building smartedit app. Try to run grunt manually in your env.
https://help.sap.com/viewer/86dd1373053a4c2da8f9885cc9fbe55d/6.5.0.0/en-US/3a271343c3de4987be796bdb7... https://help.sap.com/viewer/86dd1373053a4c2da8f9885cc9fbe55d/6.5.0.0/en-US/ad424f0b4381401e899c54ce7...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
, Are you able to access the login page for smartedit or it is while trying to access the login page?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
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...

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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.