Export OTF error

Hi,
I have been getting the error while generating the OTF. Here’s the screen shot of the error notification.

57%20PM

You have a lot of kerning in the font?

I have cleared the feature files and saved it as a new file. It now shows a Syntax error while I try to export the OTF. I tried to fix it, save the new .fea file but while exporting again, it shows the same error repeatedly.
58%20PM

55%20PM

Are you calling your attachment anchors 1 and 2?

I was. I used those anchors when I was working on a different software. I have got rid of them now and trying to generate the OTF. Will add them later in the Glyphs file. I think it should work out.

I have removed the anchors and saved it as a new file, and the OTFs are generated now from the new file. It’s working fine now.
Thanks!