mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-23 05:13:04 +03:00
nvm fix
This commit is contained in:
parent
1cdefc61bf
commit
de543f214b
@ -2,10 +2,11 @@
|
||||
|
||||
printf "post-clone.sh\n"
|
||||
|
||||
brew uninstall node@6
|
||||
# please specify required Node.js version
|
||||
NODE_VERSION=8.12.0
|
||||
|
||||
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
|
||||
|
||||
nvm use --delete-prefix v6.14.4 --silent
|
||||
|
||||
nvm install 8.12.0
|
||||
# workaround to override the v8 alias
|
||||
npm config delete prefix
|
||||
. ~/.bashrc
|
||||
nvm install "$NODE_VERSION"
|
||||
nvm alias node8 "$NODE_VERSION"
|
Loading…
Reference in New Issue
Block a user