Module not found: Error: Can't resolve '@headlessui/react'

Hi everyone,

Not sure, whether this is the right place to post this question, so, am giving it a try.

The following error pops up, when running the local freeCodeCamp contributor environment with the latest repo updates. It was last run in 2 months ago:

ERROR in ./src/templates/Introduction/components/super-block-accordion.tsx 12:0-47
Module not found: Error: Can’t resolve ‘@headlessui/react’ in
‘…/freeCodeCamp/client/src/templates/Introduction/components’
@ ./src/templates/Introduction/super-block-intro.tsx 31:0-73 183:90-109
@ ./.cache/this_is_virtual_fs_path/$virtual/async-requires.js 32:72-228
@ ./.cache/app.js 14:0-52 28:87-32:1 31:29-42 34:29-42 28:0-32:2

webpack compiled with 1 error

It prevents rendering the website locally in the browser.
I searched online for possible solutions, updated node, however, cannot seem to make it work.

Any help or advice is much appreciated.

Quick update that the problem was solved by updating the @headlessui/react package by running 'npm install @headlessui/react
’ in the terminal.