I am cloning the Symfony project form git repository. Project is using webpack encore.
git clone
composer install
npm install
Try to rebuild if npm package creates error
npm rebuild node-sass
the problem was solved by running npm install by host machine, because composer install was running also in host machine