Bench init error on v12

Hi,
After hours looking and searching for solution from our community comments
and also based on the first error in the above problem which is
…/apps/frappe/node_modules/node-sass: Command failed.
Exit code: 1
I go to apps/frappe and do :
yarn upgrade node-sass
cd your frappe-bench directory
bench build

The problem solved.

continue to get-app erpnext, create site etc.

My simple conclusion is
node-sass version 4.13.1 somehow have problem in version-12 (??) because
after yarn upgrade node-sass which then install node-sass version 4.14.1 the problem gone.
I know it might be more reason for that but I leave that for the experts.

I also have pandas setup error when setting up and this link help me Bench installation of erpnext fails on pandas setup - #2 by satishvijayan

Regards,
Aditya

1 Like