提交 dc57ae0a 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

Do not run `yarn` (npm install) inside docker. leave it to users

上级 cc32a95b
......@@ -112,7 +112,14 @@ function wechaty::runBot() {
[ -f package.json ] && {
echo "Install dependencies modules ..."
yarn < /dev/null || return $? # yarn will close stdin??? cause `read` command fail after yarn
#
# NPM module install will have problem in China.
# i.e. chromedriver need to visit a google host to download binarys.
#
echo "Skipped yarn. Please make sure you had installed all the NPM modules which is depended by your bot script."
# yarn < /dev/null || return $? # yarn will close stdin??? cause `read` command fail after yarn
}
# echo -n "Linking Wechaty module to bot ... "
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册