bench icon indicating copy to clipboard operation
bench copied to clipboard

Understanding the Steps of bench init: Manual Execution Required Due to Network Issues with yarn install

Open hyaray opened this issue 2 years ago • 1 comments

Hello Bench Community,

I am encountering network issues during the yarn install step when using bench init. To better understand and potentially resolve these issues, I would like to manually execute the commands that bench init normally performs. Could you please provide a detailed breakdown of the exact steps and commands that bench init executes? This information will help me to identify where the problem might be occurring and how to address it.

yarn install --registry https://registry.npm.taobao.org/ still read yarn.lock, didn't use config in ~/.yarnrc either. It puzzled me a lot. all steps I do is

mkdir frappe-bench && cd $_
git clone -b version-14 https://gitee.com/mirrors/frappe apps/frappe
cd apps/frappe
#modify yarn.lock
yarn install
sudo chmod -R o+rx /home/{user}
cd ~/frappe-bench
bench new-site erpnext --db-name xxx --admin-password xxx
#OSError: b'./apps.txt' Not Found

Thank you for your assistance.

hyaray avatar Dec 14 '23 18:12 hyaray

same issue when trying to build custom container image for arm64 and only when building for arm64 can we increase the network time for yarn install

Sudhegan avatar Apr 18 '24 10:04 Sudhegan