Emmet does not seem to work

I installed emmet using packer.nvim. The plugin seemed to be installed correctly without any errors.

I’ve not changed any defaults. When ever I try to expand any emmet macros with <C-y>,I get
E117: Unknown function: emmet#util#closePopup error with no other information whatsoever.
I don’t know what exactly is causing this at all.

Here’ few bits from checkhealth

## Configuration
  - OK: no issues found

## Performance
  - OK: Build type: Release

## Remote Plugins
  - OK: Up to date

## Installation
    ....
  - OK: Neovim was compiled with tree-sitter runtime ABI version 14 (required >=13). Parsers must be compatible with runtime ABI.