Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hyaray opened this issue Dec 14, 2023 · 1 comment

Comments

@hyaray
Copy link

hyaray commented Dec 14, 2023

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.

@sudhegan
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants