-
Notifications
You must be signed in to change notification settings - Fork 10
Web script improvements #7
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
base: master
Are you sure you want to change the base?
Conversation
| # Check for Homebrew, | ||
| # Install if we don't have it | ||
| if test ! $(which brew); then | ||
| echo "Installing homebrew..." | ||
| ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | ||
| fi | ||
| # Download and install nvm - Node version manager | ||
| curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash | ||
|
|
||
| # Make sure we’re using the latest Homebrew. | ||
| brew update |
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.
This is needed in all scripts. Why did we remove it?
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.
Shouldn't we install nvm from brew?
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.
I didn't check for nvm formulae for homebrew in the first place. There is one, so I'll use brew and revert homebrew check.
This reverts commit f174704.
web.sh
Outdated
|
|
||
| # Install and use lts Node release | ||
| nvm install --lts | ||
| brew install node@8 |
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.
can't we install nvm through brew?
Briefing
web.shscript was not working and outdated.Changes
Nodeinstallation.npmpackages installation.nvminstallation.Node.