Has anyone experienced the following error when do...
# suitecommerce
c
Has anyone experienced the following error when doing a gulp deploy: 'getFileNamedsearcherror undefined'
So for anyone else having this issue, this is how I resolved it. I spoke to support, turns out some of the code on the SuiteAnswers for the patches include some special characters that when paste into the existing code create this issue. I had to use Notepad to see the characters and remove them. After this it now deploys.
thankyou 1
v
Hi Chris I am getting the same error if you can tell which patch file includes this special character.Thanks
i did TBA patch
c
@VS, I believe there was two files. Not at desk at the moment, but will post once I jump on a pc to double check.
v
@Chris Geast thank you.
c
@VS So this file definitely needs checking: ns_npm_repository > suitetalk4node > src > templates > _passport.tpl. Use Notepad++ with the special characters turned on, you'll be able to see the obvious bits to remove. I am sure there was another file that had one small section with the same issue, but can't remember which one I'm afraid. The best thing to do would be to copy paste each replacement in to Notepad++ first just to be sure. It should look something like the attached screenshot. You'll notice the ZWNJ parts which need to be removed.
v
Hi Chris Thanks for the help; it worked.
1
c
No worries, glad you got it sorted. They really need to update their SuiteAnswer to remove that bad code!