You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ru...@apache.org on 2023/04/13 21:48:58 UTC

[superset] branch master updated: docs: nvm error while local setup (#23609)

This is an automated email from the ASF dual-hosted git repository.

rusackas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 240b29220f docs: nvm error while local setup (#23609)
240b29220f is described below

commit 240b29220fa54bbfd230ff639e3331327dd58b07
Author: Abhishek-kumar-samsung <a....@samsung.com>
AuthorDate: Fri Apr 14 03:18:46 2023 +0530

    docs: nvm error while local setup (#23609)
---
 CONTRIBUTING.md | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index b5d42fb195..1c13006aa5 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -547,6 +547,11 @@ We recommend using [nvm](https://github.com/nvm-sh/nvm) to manage your node envi
 ```bash
 curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.0/install.sh | bash
 
+incase it shows '-bash: nvm: command not found'
+export NVM_DIR="$HOME/.nvm"
+[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
+[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion
+
 cd superset-frontend
 nvm install --lts
 nvm use --lts