-
Notifications
You must be signed in to change notification settings - Fork 129
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
update package installation tips for install #598
update package installation tips for install #598
Conversation
process.emit('SIGINT'); | ||
}, 3000); | ||
} | ||
process.nextTick(() => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
为什么需要 nextTick
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
让消息显示靠后,避免被淹没
1. fun install sbox -f ${this.serviceName}/${this.functionName} -i | ||
2. fun-install apt-get install ${packageName} | ||
3. type 'exit' to exit container and then reRun your function | ||
step1: fun install sbox -f ${this.serviceName}/${this.functionName} -i |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这些 tab 缩进一下。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
lib/fc-error-transform.js
Outdated
|
||
Also you can install dependencies through one command: | ||
|
||
fun install sbox -f puppeteer/html2png --cmd 'fun-install apt-get install ${packageName}' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里最好缩进一下
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
No description provided.