This line of code resolved the issue for me:
npm i [email protected]
What does it do? It downgrades css-select to an older version, which is responsible for the issue.