Solution that definitely solved the problem for us, just run the npm install or yarn) inside python environment:
python3 -m venv venv source venv/bin/activate pip install setuptools wheel yarn deactivate